Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zeppaman authored Dec 7, 2022
1 parent e4dca4c commit 2ffcb66
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,19 @@ jobs:
env:
NEW_TAG: ${{ steps.tag_version.outputs.new_tag }}
run: echo "new tag $NEW_TAG"
- name: 'Move latest'
shell: bash
run: |
echo "movign tag"
git tag -d latest
git push origin :refs/tags/latest
git tag -f latest
git push origin latest
- uses: ClementTsang/[email protected]
with:
delete_release: false
tag_name: latets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: rickstaa/action-create-tag@v1
with:
tag: "latest"
message: "Latest release"
no_verify_tag: true
force_push_tag: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Go
Expand Down

0 comments on commit 2ffcb66

Please sign in to comment.