From a66b3d0846e1e69aaf9f48abccafeb3d5d47381e Mon Sep 17 00:00:00 2001 From: eromano Date: Mon, 28 Aug 2023 15:08:00 +0200 Subject: [PATCH] Revert "add branch release" This reverts commit 79df22043466132b2ff795e468fd26e05b6ffa62. --- .github/actions/set-npm-tag/action.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/actions/set-npm-tag/action.yml b/.github/actions/set-npm-tag/action.yml index 7fea3ca75f..7776148628 100644 --- a/.github/actions/set-npm-tag/action.yml +++ b/.github/actions/set-npm-tag/action.yml @@ -14,6 +14,7 @@ inputs: runs: using: "composite" steps: + - name: set TAG_NPM shell: bash run: | @@ -24,21 +25,13 @@ runs: # Pre-release versions if [[ $VERSION_IN_PACKAGE_JSON =~ ^[0-9]*\.[0-9]*\.[0-9]*-A\.[0-9]*$ ]]; then - echo "Set next tag" TAG_NPM=next # Stable major versions else - echo "Set latest tag" TAG_NPM=latest fi fi if [[ ${{ inputs.branch_name }} =~ ^develop(-patch.*)?$ ]]; then - echo "Set Alpha tag" TAG_NPM=alpha fi - if [[ ${{ contains(github.event.head_commit.message , '[release-branch:*]') && github.event_name == 'pull_request' }} ]]; then - echo "Set Branch tag" - TAG_NPM=branch - fi - echo "TAG_NPM=${TAG_NPM}" >> $GITHUB_ENV