Skip to content

Commit

Permalink
change naming of nightly and snapshot builds (arduino#1326)
Browse files Browse the repository at this point in the history
replace `-` with `.` to make auto-update work correctly
  • Loading branch information
Alberto Iannaccone authored Aug 17, 2022
1 parent 9e2b73a commit 5be1f9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions electron/packager/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ function getVersion() {
}
if (!isRelease) {
if (isNightly) {
version = `${version}-nightly-${timestamp()}`;
version = `${version}.nightly-${timestamp()}`;
} else {
version = `${version}-snapshot-${currentCommitish()}`;
version = `${version}.snapshot-${currentCommitish()}`;
}
if (!semver.valid(version)) {
throw new Error(`Invalid patched version: '${version}'.`);
Expand Down

0 comments on commit 5be1f9d

Please sign in to comment.