ci: use latest branch over tag

This commit is contained in:
Daylin Morgan 2024-07-12 11:43:52 -05:00
parent 68e12d643c
commit 960d7acf26
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -26,12 +26,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: update latest tag
uses: richardsimko/update-tag@v1
with:
tag_name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: update latest branch
run: |
git checkout -B latest
git push --force-with-lease -u origin latest
- name: Generate New Release
run: gh release create ${{ github.ref }}