mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
ci: allow tag override for tns-core-modules
This commit is contained in:
9
.github/workflows/npm_release_tns_core.yml
vendored
9
.github/workflows/npm_release_tns_core.yml
vendored
@@ -11,12 +11,17 @@ on:
|
||||
description: 'NPM Tag'
|
||||
required: false
|
||||
default: 'tns-next'
|
||||
tagTNS:
|
||||
description: 'NPM Tag for tns-core-modules (override)'
|
||||
required: false
|
||||
default: 'tns-next'
|
||||
version:
|
||||
description: 'NPM Version'
|
||||
required: false
|
||||
|
||||
env:
|
||||
NPM_TAG: ${{ github.event.inputs.tag || 'tns-next' }}
|
||||
NPM_TAG_TNS: ${{ github.event.inputs.tagTNS || github.event.inputs.tag || 'tns-next' }}
|
||||
NPM_VERSION: ${{ github.event.inputs.version }}
|
||||
|
||||
jobs:
|
||||
@@ -78,5 +83,5 @@ jobs:
|
||||
echo "Publishing @nativescript/core@$NPM_VERSION to NPM with tag $NPM_TAG..."
|
||||
#npm publish nativescript-core-$NPM_VERSION.tgz --tag $NPM_TAG
|
||||
|
||||
echo "Publishing tns-core-modules@$NPM_VERSION to NPM with tag $NPM_TAG..."
|
||||
#npm publish tns-core-modules-$NPM_VERSION.tgz --tag $NPM_TAG
|
||||
echo "Publishing tns-core-modules@$NPM_VERSION to NPM with tag $NPM_TAG_TNS..."
|
||||
#npm publish tns-core-modules-$NPM_VERSION.tgz --tag $NPM_TAG_TNS
|
||||
|
||||
Reference in New Issue
Block a user