screwdriver icon indicating copy to clipboard operation
screwdriver copied to clipboard

Fix support for semantic-release

Open minghay opened this issue 9 months ago • 0 comments

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:

minghay avatar Jul 24 '25 22:07 minghay