Merge branch 'test-release-tag' into master
This commit is contained in:
commit
a929eec7c8
1 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,11 @@ export function getNapiConfig(packageJson = 'package.json') {
|
||||||
(platform: string) => `${platform}-musl`,
|
(platform: string) => `${platform}-musl`,
|
||||||
)
|
)
|
||||||
const platforms = os
|
const platforms = os
|
||||||
const version = packageVersion
|
const releaseVersion = process.env.RELEASE_VERSION
|
||||||
|
const releaseVersionWithoutPrefix = releaseVersion?.startsWith('v')
|
||||||
|
? releaseVersion.substr(1)
|
||||||
|
: releaseVersion
|
||||||
|
const version = releaseVersionWithoutPrefix ?? packageVersion
|
||||||
const packageName = name
|
const packageName = name
|
||||||
|
|
||||||
const binaryName = napi?.name ?? 'index'
|
const binaryName = napi?.name ?? 'index'
|
||||||
|
|
Loading…
Reference in a new issue