From 8698a1ab84288da068354ec92e108c2b0ed48552 Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Mon, 1 Feb 2021 12:33:46 +0100 Subject: [PATCH] ci: allow tag override for tns-core-modules --- .github/workflows/npm_release_tns_core.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm_release_tns_core.yml b/.github/workflows/npm_release_tns_core.yml index 252574949..a002d94a9 100644 --- a/.github/workflows/npm_release_tns_core.yml +++ b/.github/workflows/npm_release_tns_core.yml @@ -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