mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-06-08 21:26:32 +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 { platform, arch } = process;
|
||||||
const id = (() => {
|
const id = (() => {
|
||||||
if (isRelease) {
|
if (isRelease) {
|
||||||
return 'latest';
|
return getVersion();
|
||||||
} else if (isNightly) {
|
} else if (isNightly) {
|
||||||
return `nightly-${timestamp()}`
|
return `nightly-${timestamp()}`
|
||||||
} else {
|
} else {
|
||||||
|
@ -4,9 +4,7 @@ const fs = require('fs');
|
|||||||
const zip = require('7zip-min');
|
const zip = require('7zip-min');
|
||||||
const temp = require('temp');
|
const temp = require('temp');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const isCI = require('is-ci');
|
|
||||||
const shell = require('shelljs');
|
const shell = require('shelljs');
|
||||||
const semver = require('semver');
|
|
||||||
const depcheck = require('depcheck');
|
const depcheck = require('depcheck');
|
||||||
const fromFile = require('file-type').fromFile;
|
const fromFile = require('file-type').fromFile;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user