Skip to content

Commit dea19ab

Browse files
authored
Fix pkg.pr.new (#73)
1 parent ed61e69 commit dea19ab

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/pkg.pr.new.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,9 @@ jobs:
2121

2222
- run: yarn --frozen-lockfile
2323

24+
# append the git commit to the package.json version.
25+
# We do this because some cache mechanisms (like nextjs) don't work well with the same version and ignore the changes
26+
# until you manually delete the cache
27+
- run: jq '.version = .version + "-" + env.GITHUB_SHA' package.json > package.json.tmp && mv package.json.tmp package.json
28+
2429
- run: npx pkg-pr-new publish

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- `pkg.pr.new` workflow in order to prevent caching issues
13+
1014
## [5.7.0] - 2024-10-04
1115

1216
### Added

0 commit comments

Comments
 (0)