Skip to content

Commit

Permalink
Revert "change naming of nightly and snapshot builds (#1326)"
Browse files Browse the repository at this point in the history
This reverts commit 5be1f9d.
  • Loading branch information
Alberto Iannaccone authored and per1234 committed Sep 14, 2022
1 parent bf303d1 commit 7f06b14
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 7f06b14

Please sign in to comment.