Skip to content

Commit

Permalink
Merge pull request #232 from alphagov/track-latest-release
Browse files Browse the repository at this point in the history
Use a branch as an alias of the latest release
  • Loading branch information
gemmaleigh committed May 23, 2016
2 parents f410b80 + d2496db commit 3b0eab4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ if [ "$MASTER_SHA" == "$HEAD_SHA" ]; then
echo "Creating new tag: $VERSION_TAG"
git tag $VERSION_TAG
git push origin $VERSION_TAG

# Alias branch for the most recently released tag, for easier diffing
git push origin master:latest-release
fi
fi

0 comments on commit 3b0eab4

Please sign in to comment.