summaryrefslogtreecommitdiff
path: root/jenkinstool
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-08-11 19:46:22 +0100
committerLars Wirzenius <liw@liw.fi>2012-08-11 19:46:22 +0100
commit52e0cec86e7f5f03f2f9eba2a7ab50ba317efdda (patch)
treeaac3b067926b95fe6cb01433920e9afbeeea7ad2 /jenkinstool
parent86ae1d5c545f17c6802a384f3be8650ff00e0183 (diff)
downloadjenkinstool-52e0cec86e7f5f03f2f9eba2a7ab50ba317efdda.tar.gz
Don't use build date, stupid
Diffstat (limited to 'jenkinstool')
-rwxr-xr-xjenkinstool4
1 files changed, 1 insertions, 3 deletions
diff --git a/jenkinstool b/jenkinstool
index e18a8b6..73bed1d 100755
--- a/jenkinstool
+++ b/jenkinstool
@@ -46,10 +46,8 @@ else
fi
commit_date=$(date --date="$commit_timestamp" +%%Y%%m%%dT%%H%%M%%S)
-build_date=$(date +%%Y%%m%%dT%%H%%M%%S)
-
project="%(project.name)s"
-version="${upstream_version}.vcs${build_date}"
+version="${upstream_version}.vcs${commit_date}"
artifacts="%(global.artifacts)s/${project}"
tarball="${project}-${version}.tar.gz"
'''