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
fix: use github.ref_name instead of github.ref for release names
This change fixes the issue where release titles were showing the full Git reference
path (e.g., "Release refs/tags/v4.5.0") rather than just the tag name.
- Changed `github.ref` to `github.ref_name` in the release name
- Also updated the major version extraction to use `github.ref_name`
The difference between these GitHub Actions context variables:
- `github.ref`: Contains the full reference path (e.g., "refs/tags/v4.5.0")
- `github.ref_name`: Contains just the name portion (e.g., "v4.5.0")
This results in cleaner release titles like "Release v4.5.0" instead of
"Release refs/tags/v4.5.0".
0 commit comments