Skip to content

Release / Release Configuration based on Branch? #1332

Closed Answered by ekristen
ekristen asked this question in Q&A
Discussion options

You must be logged in to vote

The answer is the following:

The primary branch must have filter-by-commitish: true in the configuration, as this is not available on the action values.

Then the action must have the following set.

with:
  ...
  commitish: ${{ github.ref }}

Additionally if you were on main and then create release/1.x or release/2.x you will need to use GitHub UI or API to create a new tag and release on the new branch, otherwise release drafter will fail to find a previous tag and error out.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@ekristen
Comment options

@ekristen
Comment options

@ekristen
Comment options

@jetersen
Comment options

@ekristen
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ekristen
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