Skip to content

Commit 76912d2

Browse files
author
dompling
committed
update
1 parent a5d9a41 commit 76912d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,10 @@ jobs:
222222
echo "📌 Updating latest release..."
223223
if gh release view "latest" &>/dev/null; then
224224
gh release delete "latest" --yes || true
225-
git push origin :refs/tags/latest 2>/dev/null || true
226225
fi
226+
# 删除远程和本地的 latest tag
227+
git push origin :refs/tags/latest 2>/dev/null || true
228+
git tag -d latest 2>/dev/null || true
227229
228230
gh release create "latest" \
229231
"$LATEST_FILE" \

0 commit comments

Comments
 (0)