Skip to content

CI: update the release workflow#99

Merged
nosborn merged 1 commit intomasterfrom
ci-release-workflow
Jun 12, 2025
Merged

CI: update the release workflow#99
nosborn merged 1 commit intomasterfrom
ci-release-workflow

Conversation

@nosborn
Copy link
Copy Markdown
Owner

@nosborn nosborn commented Jun 12, 2025

No description provided.

Copilot AI review requested due to automatic review settings June 12, 2025 10:27
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the release workflow to align the tag name used in CI with the version in package.json by stripping a leading v.

  • Adjusts the version comparison in the release job to remove a leading v from the Git tag
  • Ensures package.json version and Git tag match correctly when tags include a v prefix
Comments suppressed due to low confidence (1)

.github/workflows/release.yml:35

  • [nitpick] Consider adding a comment above this line to explain that the leading 'v' is stripped from the tag name so it matches the semver version in package.json.
if [[ $(jq -r .version package.json) != "${GITHUB_REF_NAME#v}" ]]; then

@nosborn nosborn merged commit 508d6ce into master Jun 12, 2025
4 checks passed
@nosborn nosborn deleted the ci-release-workflow branch June 12, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants