Skip to content
Snippets Groups Projects
Commit 40d64d19 authored by anarcat's avatar anarcat
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ version=$(shell sed -ne 's/^[^(]*(\([^)]*\)).*/\1/;1p' debian/changelog) ...@@ -32,7 +32,7 @@ version=$(shell sed -ne 's/^[^(]*(\([^)]*\)).*/\1/;1p' debian/changelog)
commit=$(shell git log -n 1 --oneline | sed 's/ .*$$//') commit=$(shell git log -n 1 --oneline | sed 's/ .*$$//')
# the version we're building with jenkins # the version we're building with jenkins
jenkins_version=${version}~${BUILD_TAG}+${commit} jenkins_version=${version}+${BUILD_NUMBER}.${commit}
# debug for the above # debug for the above
show-version: show-version:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment