Skip to content

Commit

Permalink
ci: ignore error if latest git tag doesn't exist (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud authored Jul 24, 2024
1 parent 6f83d09 commit 41408fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bin/move-latest-tag.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ move_tag() {
local commit_sha="$2"
local tag="$package@latest"

git push -d origin "$tag"
git push -d origin "$tag" || true # ignore error if "latest" tag does not exist yet
git tag "$tag" "$commit_sha"
git push origin "$tag"
}
Expand Down

0 comments on commit 41408fc

Please sign in to comment.