Skip to content

Commit

Permalink
build(nightly): use prerelease semver
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Dec 2, 2022
1 parent 7a0555a commit 934ed39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get-pkg-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (match) {
if (process.argv[2] === 'nightly' || process.argv[2] === '') {
const today = new Date()
console.log(
ver + '+nightly.' + today.toISOString().split('T')[0].replaceAll('-', '')
ver + '-nightly.' + today.toISOString().split('T')[0].replaceAll('-', '')
)
} else {
console.log(ver)
Expand Down

0 comments on commit 934ed39

Please sign in to comment.