Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Update sha comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanderhoof committed Apr 6, 2018
1 parent 09db888 commit 59a1e17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ pipeline {
git fetch -q
# note when tag not found git rev-parse will just print its name
TAG=`git rev-parse tags/v$VERSION 2>/dev/null || :`
# TAG=`git rev-parse tags/v$VERSION 2>/dev/null || :`
TAG=`git rev-list -n 1 "v$VERSION 2>/dev/null || :`
echo Tag v$VERSION: $TAG
HEAD=`git rev-parse HEAD`
Expand All @@ -85,7 +86,7 @@ pipeline {
sh 'docker run -i --rm -v $PWD:/src -w /src alpine/git clean -fxd'

sh './publish.sh'

// Clean up again...
sh 'docker run -i --rm -v $PWD:/src -w /src alpine/git clean -fxd'
deleteDir()
Expand Down

0 comments on commit 59a1e17

Please sign in to comment.