Skip to content

Commit 70278fe

Browse files
committed
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
1 parent d5c7d3a commit 70278fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electron/packager/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function artifactName() {
1515
} else if (isNightly) {
1616
return `nightly-${timestamp()}`
1717
} else {
18-
return 'snapshot';
18+
return getVersion();
1919
}
2020
})();
2121
const name = 'arduino-pro-ide';

0 commit comments

Comments
 (0)