Skip to content

Commit 5a92565

Browse files
committed
fix: GitHub Release 생성 시 기존 릴리즈 삭제 후 재생성
- 베타 버전과 정식 버전의 태그가 중복될 때 발생하는 오류 해결 - 기존 릴리즈가 있으면 삭제 후 새로 생성하도록 수정
1 parent 25b35e9 commit 5a92565

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ jobs:
158158
159159
echo "Creating release for $PKG_NAME@$PKG_VERSION"
160160
161+
# Delete existing release if it exists (likely a beta version)
162+
gh release delete "${PKG_NAME}@${PKG_VERSION}" --yes 2>/dev/null || true
163+
161164
gh release create "${PKG_NAME}@${PKG_VERSION}" \
162165
--title "${PKG_NAME}@${PKG_VERSION}" \
163166
--notes "## 🚀 Stable Release

0 commit comments

Comments
 (0)