Merge pull request #118 from bcmi-labs/release-workflow-fixes

Fixed the version part in the artifact name.
This commit is contained in:
Akos Kitta 2020-07-07 17:21:59 +02:00 committed by GitHub
commit 08e3731493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -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 {

View File

@ -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;