mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-13 14:26:37 +00:00
Use short commit hash in "snapshot" build artifact archive filename
When you have multiple snapshot builds on your computer for testing purposes, it's difficult to keep track of which is which. The commit hash is shown by the running application, but it's more convenient to have the installation also identified by its folder name. Adding the short commit hash to the build archive filename (and thus the extracted folder name) provides a clear identifier for each build. Before this change, the archive is named like: arduino-pro-ide_snapshot_Linux_64bit.zip after: arduino-pro-ide_0.0.7-snapshot.1b8c510_Linux_64bit.zip
This commit is contained in:
parent
d5c7d3a8ed
commit
70278fed6f
@ -15,7 +15,7 @@ function artifactName() {
|
|||||||
} else if (isNightly) {
|
} else if (isNightly) {
|
||||||
return `nightly-${timestamp()}`
|
return `nightly-${timestamp()}`
|
||||||
} else {
|
} else {
|
||||||
return 'snapshot';
|
return getVersion();
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
const name = 'arduino-pro-ide';
|
const name = 'arduino-pro-ide';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user