v1.0.12 #9
Workflow file for this run
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: Auto-Tag Latest Version | |
on: | |
release: | |
types: [published] | |
jobs: | |
move-latest-tag: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Git | |
run: | | |
git config user.name "GitHub Actions" | |
git config user.email "actions@github.com" | |
- name: Move the latest tag | |
run: | | |
git tag -fa latest -m "Update latest tag" | |
git push -f origin latest |