Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 094c71a

Browse files
committed
Fix semver#valid call
1 parent 18d6823 commit 094c71a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎electron/packager/config.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ function getVersion() {
7272
}
7373
if (!isRelease) {
7474
if (isNightly) {
75-
version = `${version}-nightly.${timestamp()}`;
75+
version = `${version}-nightly-${timestamp()}`;
7676
} else {
77-
version = `${version}-snapshot.${currentCommitish()}`;
77+
version = `${version}-snapshot-${currentCommitish()}`;
7878
}
7979
if (!semver.valid(version)) {
8080
throw new Error(`Invalid patched version: '${version}'.`);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /