Skip to content

Help needed with publishing a release when pushed to master #1145

Answered by dreinon
dreinon asked this question in Q&A
Discussion options

You must be logged in to vote

Finally what I have done is:

  • I have a PR Labeler action which labels PRs with release drafter. (If PRs come from develop, they are marked as skip-changelog, which is then ignored)

  • When a PR from any branch to develop (already labeled according to its conventional-commit friendly title) is merged, release drafter is run and the draft release gets updated

  • When we want to make a release, we create a PR from develop to main (marked as skip-changelog). On merged, we run release-drafter which doesn't update the releasee draft since this PR has an ignored label, but it outputs the tag_name, which from we get the version, and we do npm version <> -m "whatever %s [skip ci]", and then push, a…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ssbarnea
Comment options

Answer selected by dreinon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants