Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "change naming of nightly and snapshot builds (#1326)"
This reverts commit 5be1f9d.
  • Loading branch information
Alberto Iannaccone committed Sep 12, 2022
commit 4663caaa02ac4284373fc59a5fc36387c81666c3
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