Commit d3f8207
authored
fix: reset package.json version to 0.0.0 and update release command (#9)
## Summary
- Reset package.json version to 0.0.0 since versions are managed on
release tags
- Update the release command to find current version from GitHub
releases instead of package.json
## Why this change?
The release workflow updates package.json version on the release tag,
not on the main branch. This is a common pattern for GitHub Actions
where:
- The main branch stays at a development version (0.0.0)
- Each release tag contains the correct version in package.json
- Users consume the action via tags (@v1, @v1.0.0)
This change aligns the codebase with this workflow pattern.
## Test plan
- [x] Run `pnpm run build` to ensure the package builds correctly
- [x] The release command now uses `gh release view` to find the current
version1 parent eaa0afe commit d3f8207
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments