Skip to content
Snippets Groups Projects
Commit 7802bd88 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #9048: Force revision back into image even for trunk, otherwise the image...

Task #9048: Force revision back into image even for trunk, otherwise the image will never be rebuilt as the Dockerfile does not change between revisions
parent 665b2de2
No related branches found
No related tags found
No related merge requests found
...@@ -45,15 +45,7 @@ export BRANCH_URL="$URL" ...@@ -45,15 +45,7 @@ export BRANCH_URL="$URL"
# ----- REVISION = 12345 ----- # ----- REVISION = 12345 -----
if [ "{$BRANCH}" == "trunk" ]; then export REVISION=`echo "$SVN_INFO" | perl -ne 'print "$1" if /Revision: +(.+)/;'`
# Friendly special case to be able to export the output to 3rd parties.
# They'll want the HEAD instead of the revision we happened to build with,
# and we'll don't care that much for the race condition it causes for us
# (between generating the output and using it)
export REVISION=HEAD
else
export REVISION=`echo "$SVN_INFO" | perl -ne 'print "$1" if /Revision: +(.+)/;'`
fi
# ----- NOW = 2016-01-01 10:11:12 ----- # ----- NOW = 2016-01-01 10:11:12 -----
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment