Skip to content

Commit 56f5fad

Browse files
siggerzzBen Siggery
and
Ben Siggery
authored
fix(pie-monorepo): DSW-000 update snapit command (#2245)
Co-authored-by: Ben Siggery <[email protected]>
1 parent bb385dd commit 56f5fad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"create:manifest": "cross-env-shell turbo run create:manifest --filter=!pie-monorepo --token=${TURBO_TOKEN}",
3030
"changeset": "changeset",
3131
"changeset:publish": "changeset publish",
32+
"changeset:snapshot": "changeset version --snapshot snapshot-release",
3233
"changeset:version": "changeset version && yarn --mode update-lockfile",
3334
"clean": "turbo run clean --filter=!pie-monorepo",
3435
"cz": "./packages/tools/pie-monorepo-utils/git-hooks/check-branch-name.js $(git symbolic-ref --short HEAD) && ./node_modules/cz-customizable/standalone.js",

packages/tools/pie-monorepo-utils/changeset-snapshot/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const handleError = async (github, context, message, error) => {
4343
* @returns {Array<string>} The tags of the newly published snapshots
4444
*/
4545
const publishSnapshot = async (execa) => {
46-
await execa.command('yarn changeset:version --snapshot snapshot-release', { stdio: 'inherit' });
46+
await execa.command('yarn changeset:snapshot', { stdio: 'inherit' });
4747

4848
const releaseProcess = execa.command('yarn changeset:publish --no-git-tags --snapshot --tag snapshot-release');
4949
releaseProcess.stdout.pipe(process.stdout);

0 commit comments

Comments
 (0)