mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-04-12 03:38:30 +00:00
Update latest tag when new release
This commit is contained in:
19
.github/workflows/tag-latest.yml
vendored
Normal file
19
.github/workflows/tag-latest.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Update latest tag
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tag-latest:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Force-update latest tag
|
||||||
|
run: |
|
||||||
|
git tag -f latest
|
||||||
|
git push origin latest --force
|
||||||
Reference in New Issue
Block a user