Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jessicalostinspace/cut-release-action

Github action to cut a release branch given a semantic version
https://github.com/jessicalostinspace/cut-release-action

Last synced: about 2 months ago
JSON representation

Github action to cut a release branch given a semantic version

Awesome Lists containing this project

README

        

# Cut Release Branch

This action cuts a new release branch with a branch name of ``.

## 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 }}