Skip to content

Commit

Permalink
fix: workaround github release bug
Browse files Browse the repository at this point in the history
  • Loading branch information
samhamptonheycar committed Apr 16, 2024
1 parent 0d3f766 commit 6090859
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-major.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ jobs:
echo "Attempting to delete major version tag ${_major_tag}..."
gh release delete "${_major_tag}" --repo ${REPO} --cleanup-tag -y || echo "No major version tag to delete"
sleep 5 # https://github.com/cli/cli/issues/8458
echo "Creating major version tag ${_major_tag} for commit ${COMMIT_SHA}..."
gh release create "${_major_tag}" --repo ${REPO} --target ${COMMIT_SHA} --generate-notes --latest

0 comments on commit 6090859

Please sign in to comment.