Commit 33178cf5 authored by anarcat's avatar anarcat

fix variable in autobuilder

parent b0b0e383
......@@ -79,13 +79,14 @@ binary: binary-indep binary-arch
git-buildpackage --git-upstream-branch=origin/upstream --git-debian-branch=origin/debian --git-ignore-branch
version=`git describe --match 'debian/*' --tags | sed 's#debian/##;s/-\([0-9]*\)-\([0-9]*\)-/-\1+\2/'`
# this builds a debian package but first updates the branches to follow the latest 1.x branch
git checkout -b upstream || git checkout upstream
git merge 6.x-1.x
git checkout -b debian || git checkout debian
git merge upstream
version=`git describe --match 'debian/*' --tags | sed 's#debian/##;s/-\([0-9]*\)-\([0-9]*\)-/-\1+\2/'`
dch -v $version "automatic jenkins build"
dch -v ${version} "automatic jenkins build"
git commit -m"dummy commit for $version autobuild" debian/changelog
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment