diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-04-20 12:17:38 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-04-20 12:17:38 +0100 |
commit | 2c75c3306a74398f202e57d67bc5915843948452 (patch) | |
tree | b79c35f7b1126e7b6b2428570e87e2a48fdef49c /jenkinstool | |
parent | 1086f2bc871feeb5227838a87708f8e3c4516219 (diff) | |
download | jenkinstool-2c75c3306a74398f202e57d67bc5915843948452.tar.gz |
Fix how VCS build version numbering happens
Previously, .vcsBLAH was added, but this breaks when the previous release
is 1.2 and the new one is 1.2.1. This change fixes this scenario.
Diffstat (limited to 'jenkinstool')
-rwxr-xr-x | jenkinstool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkinstool b/jenkinstool index b3c1d59..51c47ac 100755 --- a/jenkinstool +++ b/jenkinstool @@ -143,7 +143,7 @@ then version="$(upstream_version)" if ! is_release "$project" "$version" then - version="$version.vcs$(commit_date)" + version="$version.0.vcs$(commit_date)" fi tarball="${project}-${version}.tar.gz" |