From 5be1f9d7fe7513a432f6c7d4c58e330aad73699d Mon Sep 17 00:00:00 2001 From: Alberto Iannaccone Date: Wed, 17 Aug 2022 17:13:25 +0200 Subject: [PATCH] change naming of nightly and snapshot builds (#1326) replace `-` with `.` to make auto-update work correctly --- 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 44af9f323..b7e7faba5 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}'.`);