Skip to content

Commit

Permalink
Merge pull request #3 from cloudfoundry-incubator/add-commit-hashes
Browse files Browse the repository at this point in the history
Fix generate-tag-files
  • Loading branch information
Irfan Habib committed Aug 20, 2018
2 parents 397ecf7 + b04a140 commit 88ae311
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy/ci/tasks/dev-releases/generate-tag-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ run:
LATEST_TAG=$(cat package.json | grep version | grep -Po "([0-9\.]?)*")-$(git log -1 --format="%h")
if [ ! -z ${TAG_SUFFIX} ]; then
LATEST_TAG=${LATEST_TAG}-${TAG_SUFFIX}
if [ ${TAG_SUFFIX} != "null" ];
LATEST_TAG=${LATEST_TAG}-${TAG_SUFFIX}
fi
fi
Expand Down

0 comments on commit 88ae311

Please sign in to comment.