Update README.md #16
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: Bump version | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
bump: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# - name: Bump version | |
# run: | | |
# git config --global user.email "[email protected]" | |
# git config --global user.name "Actions" | |
# git fetch --tags | |
# wget -O - https://raw.githubusercontent.com/treeder/bump/master/gitbump.sh | bash | |
- name: Bump version npm style | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Actions" | |
npm version patch | |
git push --follow-tags |