Skip to content

feat: auto-set npm version from release tag in CI publish workflow#9

Merged
sleipi merged 1 commit into
mainfrom
feat/ci-publish-version
May 11, 2026
Merged

feat: auto-set npm version from release tag in CI publish workflow#9
sleipi merged 1 commit into
mainfrom
feat/ci-publish-version

Conversation

@sleipi
Copy link
Copy Markdown
Owner

@sleipi sleipi commented May 11, 2026

Summary

  • Adds actions/setup-node@v4 with registry-url for reliable npm auth in CI
  • Automatically sets package.json version from the GitHub Release tag (e.g. v0.2.00.2.0) before npm publish
  • Sets package.json version to 0.0.0-dev — real version always comes from the release tag

@sleipi sleipi added the enhancement New feature or request label May 11, 2026
@sleipi sleipi merged commit de7155e into main May 11, 2026
3 checks passed
@sleipi sleipi deleted the feat/ci-publish-version branch May 11, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant