Skip to content

Commit 5be1f9d

Browse files
author
Alberto Iannaccone
authored
change naming of nightly and snapshot builds (arduino#1326)
replace `-` with `.` to make auto-update work correctly
1 parent 9e2b73a commit 5be1f9d

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)