docs: derive release version from package

This commit is contained in:
2026-08-01 16:59:35 +05:30
parent 77ee8318a8
commit d2b87f68df
+4 -3
View File
@@ -63,9 +63,10 @@ bun test
bun run typecheck bun run typecheck
bun run build bun run build
bun run pack:check bun run pack:check
git tag v0.1.2 VERSION="$(node -p "require('./package.json').version")"
git push origin v0.1.2 git tag "v$VERSION"
gh release create v0.1.2 --generate-notes git push origin "v$VERSION"
gh release create "v$VERSION" --generate-notes
npm publish npm publish
``` ```