Skip to content

Commit 4629784

Browse files
committed
ci(scripts): publish-canary script always bump minor, more realistic [skip ci][skip lint]
1 parent a304dc4 commit 4629784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lib/getWorkspace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const getWorkspace = async () => {
145145
let nextReleaseVersion
146146
if (bumpType === 'canary') {
147147
const hash = execSync('git rev-parse --short HEAD', { encoding: 'utf8' }).trim().slice(0, 7)
148-
nextReleaseVersion = semver.inc(monorepoVersion, 'patch') + `-canary.${hash}`
148+
nextReleaseVersion = semver.inc(monorepoVersion, 'minor') + `-canary.${hash}`
149149
} else {
150150
nextReleaseVersion = semver.inc(monorepoVersion, bumpType)
151151
}

0 commit comments

Comments
 (0)