release #36
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' | |
on: | |
workflow_dispatch | |
jobs: | |
release: # this releases in v1 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Update major version tag | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Bender Bot Tf" | |
git tag -fa v${TAG} -m "Update v${TAG} tag" | |
git push origin v${TAG} --force | |
env: | |
TAG: 1 | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |