Automate creating a release candidate branch
CURRENT VERSION v1 or 1.2.0
- checks out
release - gets the commit hash from
master - cuts a new branch as
release-${hash}fromrelease - merges
masterin the new branch - tags and pushes the new branch
Create .github/workflows/release.yml in your repository with the following contents:
name: 'Release'
on: workflow_dispatch
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Release
uses: vidahealth/release@v1