From 7f06b148f4f29a310eb6b6823dee276e81cc7265 Mon Sep 17 00:00:00 2001 From: Alberto Iannaccone Date: Mon, 12 Sep 2022 16:28:03 +0200 Subject: [PATCH] Revert "change naming of nightly and snapshot builds (#1326)" This reverts commit 5be1f9d7fe7513a432f6c7d4c58e330aad73699d. --- electron/packager/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron/packager/config.js b/electron/packager/config.js index b7e7faba5..44af9f323 100644 --- a/electron/packager/config.js +++ b/electron/packager/config.js @@ -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}'.`);