Skip to content

Commit 7f06b14

Browse files
Alberto Iannacconeper1234
Alberto Iannaccone
authored andcommitted
Revert "change naming of nightly and snapshot builds (#1326)"
This reverts commit 5be1f9d.
1 parent bf303d1 commit 7f06b14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: electron/packager/config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ function getVersion() {
8080
}
8181
if (!isRelease) {
8282
if (isNightly) {
83-
version = `${version}.nightly-${timestamp()}`;
83+
version = `${version}-nightly-${timestamp()}`;
8484
} else {
85-
version = `${version}.snapshot-${currentCommitish()}`;
85+
version = `${version}-snapshot-${currentCommitish()}`;
8686
}
8787
if (!semver.valid(version)) {
8888
throw new Error(`Invalid patched version: '${version}'.`);

0 commit comments

Comments
 (0)