Release v0.2.4 #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release - Prepare next master | |
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- stable | |
jobs: | |
bump-up-version: | |
if: github.head_ref == 'master' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "16.14.2" | |
cache: "yarn" | |
- run: yarn install | |
- name: Bump up version | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git checkout -b next-version origin/master | |
yarn run bump-version:patch | |
git commit -am 'Bump up version' | |
git push origin next-version | |
gh pr create --title 'Bump up patch version' --body '' --label 'exclude from changelog' | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |