Skip to content

feat(semantic-release): support prerelease for `testing` and `dev` branches

Daniel Dehennin requested to merge feature/support-prerelease-tags into dev

The previous .on-release-tag match everything starting with release/ and so prerelease tags like release/X.Y.Z-testing or release/X.Y.Z-dev.

When doing prerelease, we want to avoid updating stable tags, we restrict the match for release tags and add specific rules to match testing and dev tags.

We make an improvement in semantic-release configuration file release.config.js to ease the declaration of the prerelease branches.

We define 2 new rules to execute semantic-release for $TESTING_BRANCH and $DEV_BRANCH.

Edited by Daniel Dehennin

Merge request reports

Loading