You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Replace deprecated actions/create-release with gh CLI
- Check if release already exists before creating new one
- Skip release creation if release already exists for tag
- Prevents workflow failures on duplicate releases
echo "Creating new release v${{ env.new_version }}"
154
+
gh release create "v${{ env.new_version }}" \
155
+
--title "Release v${{ env.new_version }}" \
156
+
--notes "## Changes in this release
156
157
157
158
This release was automatically created from PR #${{ github.event.pull_request.number }}
158
159
@@ -165,12 +166,13 @@ jobs:
165
166
### Published to crates.io
166
167
${{ steps.check_version.outputs.version_exists == 'false' && 'This version has been published to [crates.io](https://crates.io/crates/gonfig) and is available for use in your projects.' || 'This version was already available on [crates.io](https://crates.io/crates/gonfig).' }}
0 commit comments