screwdriver
screwdriver copied to clipboard
Fix support for semantic-release
What happened:
Support for Screwdriver was added to semantic-release via https://github.com/semantic-release/env-ci/pull/278; however, the exported value of GIT_BRANCH is prefixed with origin/ which does not play nicely with semantic-release at least version 22+.
What you expected to happen:
A new environment variable should be exported that does not include the origin/ prefix on the branch so that it can be used directly by semantic-release (maybe something along the lines of BRANCH_NAME).
How to reproduce it: