Sha256: 3799b002d86a44175bb80c9ea4e0877ab516e6cce8557493e9591180478be24d
Contents?: true
Size: 634 Bytes
Versions: 1
Compression:
Stored size: 634 Bytes
Contents
#!/bin/bash set -e npm install npm test # Create a new tag if the version file has been updated and a tag for that # version doesn't already exist # Are we on master branch, we shouldn't push tags for version bump branches MASTER_SHA=`git rev-parse origin/master` HEAD_SHA=`git rev-parse HEAD` if [ "$MASTER_SHA" == "$HEAD_SHA" ]; then # get the version from the version file VERSION_TAG="v`cat VERSION.TXT`" # check to make sure the tag doesn't already exist if ! git rev-parse $VERSION_TAG >/dev/null 2>&1; then echo "Creating new tag: $VERSION_TAG" git tag $VERSION_TAG git push origin $VERSION_TAG fi fi
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
govuk_frontend_toolkit-4.2.0 | app/assets/jenkins.sh |