mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-06-06 12:16:33 +00:00
Fixed the version part in the artifact name.
Removed unused `require`s. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
8da8f2a50e
commit
bf1351ffdc
@ -11,7 +11,7 @@ function artifactName() {
|
||||
const { platform, arch } = process;
|
||||
const id = (() => {
|
||||
if (isRelease) {
|
||||
return 'latest';
|
||||
return getVersion();
|
||||
} else if (isNightly) {
|
||||
return `nightly-${timestamp()}`
|
||||
} else {
|
||||
|
@ -4,9 +4,7 @@ const fs = require('fs');
|
||||
const zip = require('7zip-min');
|
||||
const temp = require('temp');
|
||||
const path = require('path');
|
||||
const isCI = require('is-ci');
|
||||
const shell = require('shelljs');
|
||||
const semver = require('semver');
|
||||
const depcheck = require('depcheck');
|
||||
const fromFile = require('file-type').fromFile;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user