mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-12 13:56:34 +00:00
change naming of nightly and snapshot builds (#1326)
replace `-` with `.` to make auto-update work correctly
This commit is contained in:
parent
9e2b73a045
commit
5be1f9d7fe
@ -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}'.`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user