Skip to content

Commit 2deeca4

Browse files
authored
Fix mirror workflow for immutable releases
1 parent 47d4869 commit 2deeca4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/exec.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
title="$(cat title.txt)"
4747
4848
if gh release view "${tag}" >/dev/null 2>&1; then
49-
gh release delete "${tag}" --yes --cleanup-tag
49+
echo "Release ${tag} already exists; skipping publish."
50+
exit 0
5051
fi
5152
5253
shopt -s nullglob

0 commit comments

Comments
 (0)