Skip to content

Commit

Permalink
feat: enable release branch option for tag action
Browse files Browse the repository at this point in the history
  • Loading branch information
MSevey committed Nov 30, 2023
1 parent b761dcf commit f2563e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/version-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ inputs:
github-token:
required: true
description: "your GITHUB_TOKEN"
release-branch:
required: false
description: "The branch the tag should be generated from (default: main)"
default: "main"
version-bump:
required: false
description: "major, minor, or patch version bump"
Expand All @@ -22,6 +26,7 @@ runs:
with:
github_token: ${{ inputs.github-token }}
default_bump: ${{ inputs.version-bump }}
release_branches: ${{ inputs.release-branch }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit f2563e4

Please sign in to comment.