Skip to content

Github action to cut a release branch given a semantic version

License

Notifications You must be signed in to change notification settings

jessicalostinspace/cut-release-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Cut Release Branch

This action cuts a new release branch with a branch name of <prefix><semantic-version>.

Inputs

repository-url

Required The repository url you are running the action in. 'https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git'

branch-prefix

Required The prefix you would like prepended to the branch name.

semantic-version

Required The bumped semantic version you would like to create a new branch with.

Outputs

release-branch-name

The name of the new release branch.

Example usage

- name: Cut Release Branch
  id: crb
  uses: jessicalostinspace/[email protected]
  with:
    repository-url: 'https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git'
    branch-prefix: 'release-v'
    semantic-version: ${{ steps.bsv.outputs.bumped-semantic-version }}

About

Github action to cut a release branch given a semantic version

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published