Commit a932237e authored by anarcat's avatar anarcat

trash the tmpdebian branch at the beginning of the build

parent f71169f5
......@@ -20,10 +20,10 @@ version=$(shell git describe --match 'debian/*' --tags | sed 's/debian\///;s/-\(
# this builds a debian package but first updates the branches to follow the latest 1.x branch
-git branch -D tmpdebian
git checkout -b tmpdebian origin/debian
git merge origin/6.x-1.x
dch -v ${version} "automatic jenkins build"
git commit -m"dummy commit for $version autobuild" debian/changelog
git-buildpackage -b --git-upstream-branch=origin/6.x-1.x --git-debian-branch=tmpdebian
git checkout ${GIT_COMMIT}
git branch -D tmpdebian
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