IDE updater bugfixes (#846)

* IDE updater assorted bugfix

- add linux AppImage target
- fix hardcoded if condition that causes to always show the update dialog
- fix redundant test build version
- recalculate sha512 after notarization on macOS

* boost notarization speed

* recalculate artifacts hash
This commit is contained in:
Alberto Iannaccone
2022-02-21 21:40:46 +00:00
committed by GitHub
parent 9b1f15def8
commit 0a87fd00f3
9 changed files with 120 additions and 61 deletions

View File

@@ -80,19 +80,12 @@ function getVersion() {
}
if (!isRelease) {
if (isNightly) {
version = `${version}-nightly.${timestamp()}`;
version = `${version}-nightly-${timestamp()}`;
} else {
version = `${version}-snapshot.${currentCommitish()}`;
version = `${version}-snapshot-${currentCommitish()}`;
}
if (!isRelease) {
if (isNightly) {
version = `${version}-nightly-${timestamp()}`;
} else {
version = `${version}-snapshot-${currentCommitish()}`;
}
if (!semver.valid(version)) {
throw new Error(`Invalid patched version: '${version}'.`);
}
if (!semver.valid(version)) {
throw new Error(`Invalid patched version: '${version}'.`);
}
}
return version;