mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-06-16 17:16:34 +00:00
Revert "change naming of nightly and snapshot builds (#1326)"
This reverts commit 5be1f9d7fe7513a432f6c7d4c58e330aad73699d.
This commit is contained in:
parent
bf303d1b2f
commit
7f06b148f4
@ -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