Commit 40d64d19 authored by anarcat's avatar anarcat

fix jenkins autobuild version again

we need increment from the official release number otherwise dch gives
an error

it's also more logical: if debian/changelog is updated, that means
there was a release at some point
parent 1859c6dd
......@@ -32,7 +32,7 @@ version=$(shell sed -ne 's/^[^(]*(\([^)]*\)).*/\1/;1p' debian/changelog)
commit=$(shell git log -n 1 --oneline | sed 's/ .*$$//')
# the version we're building with jenkins
jenkins_version=${version}~${BUILD_TAG}+${commit}
jenkins_version=${version}+${BUILD_NUMBER}.${commit}
# debug for the above
show-version:
......
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