Skip to content

Commit 7eb6d75

Browse files
authored
fix(bump): avoid using + for canary suffix (#224)
1 parent 5f263da commit 7eb6d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/semver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export async function bumpVersion(
6969
const suffix =
7070
typeof opts.suffix === "string"
7171
? `-${opts.suffix}`
72-
: `+${fmtDate(new Date())}-${commits[0].shortHash}`;
72+
: `-${fmtDate(new Date())}-${commits[0].shortHash}`;
7373
pkg.version = config.newVersion = config.newVersion.split("-")[0] + suffix;
7474
}
7575

0 commit comments

Comments
 (0)