Skip to content

Commit e66062d

Browse files
committed
attmept at fixing release workflow
1 parent f08d343 commit e66062d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
RELEASE_BRANCH="release/${TAG_NAME}"
4242
4343
# Check if branch exists on GitHub
44-
if gh api repos/:owner/:repo/branches/$RELEASE_BRANCH >/dev/null 2>&1
44+
if gh api repos/:owner/:repo/branches/$RELEASE_BRANCH >/dev/null 2>&1; then
4545
if [ $? -eq 0 ]; then
4646
echo "Branch exists on GitHub, deleting..."
4747
gh api -X DELETE repos/:owner/:repo/git/refs/heads/$RELEASE_BRANCH

0 commit comments

Comments
 (0)