mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-09 02:18:32 +00:00
Updated to the HEAD CLI.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
shell.exit(1);
|
||||
}
|
||||
const version = JSON.parse(jsonVersion).VersionString;
|
||||
if (version) {
|
||||
if (version && version !== '0.0.0-git') { // 0.0.0-git is the version of the CLI when built manually and not downloaded as a releases/nightly.
|
||||
shell.echo(`>>> Checking out version: ${version}...`);
|
||||
if (shell.exec(`git -C ${repository} checkout ${version} -b ${version}`).code !== 0) {
|
||||
shell.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user