19
.github/workflows/release_tag.yml
vendored
Normal file
19
.github/workflows/release_tag.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
name: Update Stable Tag
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-tag:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4.1.0
|
||||||
|
|
||||||
|
- name: Move and push tag
|
||||||
|
run: |
|
||||||
|
git tag -f stable ${{ github.event.release.tag_name }}
|
||||||
|
git push -f origin stable
|
||||||
|
...
|
||||||
Reference in New Issue
Block a user