Skip to content

Commit 47b540d

Browse files
chore(release): 🔧 add workspace version sync to dry-run release scripts
* Update `release:dry-run` and `release:ci:dry-run` scripts to include `sync-workspace-versions` step before publishing. * Ensures workspace versions are synchronized during dry-run release processes. Signed-off-by: Justin Wiegmann <wiegmann@e-spirit.com>
1 parent 3469c3f commit 47b540d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
"report-coverage": "cat ./coverage/lcov.info | coveralls",
4646
"commit": "git-cz",
4747
"release": "release-it",
48-
"release:dry-run": "release-it --dry-run && node ./scripts/publish-workspace.js --dry-run",
48+
"release:dry-run": "release-it --dry-run && node ./scripts/sync-workspace-versions.js && node ./scripts/publish-workspace.js --dry-run",
4949
"release:ci": "release-it --ci",
50-
"release:ci:dry-run": "release-it --ci --dry-run && node ./scripts/publish-workspace.js --dry-run",
50+
"release:ci:dry-run": "release-it --ci --dry-run && node ./scripts/sync-workspace-versions.js && node ./scripts/publish-workspace.js --dry-run",
5151
"precommit": "lint-staged",
5252
"prepush": "jest --verbose ./src",
5353
"commitmsg": "commitlint -E HUSKY_GIT_PARAMS",

0 commit comments

Comments
 (0)