Skip to content

Commit

Permalink
ci(nightly): update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed Oct 13, 2024
1 parent a88c727 commit 9e8c654
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ jobs:

- name: Remove existing 'nightly' tag (if exists)
run: |
if git rev-parse refs/tags/nightly >/dev/null 2>&1; then
git tag -d nightly
git push origin :refs/tags/nightly
fi
git tag -d nightly
git push origin :refs/tags/nightly
- name: Create new 'nightly' tag on latest commit
run: |
git tag nightly
git push origin nightly
git push origin --tags
- name: Confirm the tag was updated
run: git ls-remote --tags origin
Expand Down

0 comments on commit 9e8c654

Please sign in to comment.