alphagov / govuk_frontend_toolkit

❗️GOV.UK Frontend Toolkit is deprecated, and will only receive major bug fixes and security patches.
MIT License
403 stars 107 forks source link

Fix: Add a new create-release script for Travis #398

Closed gemmaleigh closed 7 years ago

gemmaleigh commented 7 years ago

This PR creates a new script for Travis - create-release, this combines the SSH config and tag creation and also updates the latest-release branch. (This was previously in push.sh, which is deleted).

Travis was failing as [ "$TRAVIS_PULL_REQUEST_BRANCH" = "master" ] was empty, as it is only set in the context of a pull request. Removing this ensures that the SSH key is available to all builds.