From 2a4a67e367581506b8a65fbe3cc7a769333b3afb Mon Sep 17 00:00:00 2001 From: mshanemc Date: Wed, 24 Aug 2022 18:43:29 -0500 Subject: [PATCH] feat: use plugin branch to skip version logic --- .github/workflows/onRelease.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index 76e6ff1..19f8daa 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -1,7 +1,13 @@ on: release: types: [published] - + # support manual release in case something goes wrong and needs to be repeated + workflow_dispatch: + inputs: + tag: + description: tag that needs to publish + type: string + required: true jobs: npm: uses: salesforcecli/github-workflows/.github/workflows/npmTagAndRelease.yml@sm/npm-publish @@ -10,6 +16,6 @@ jobs: ctc: false sign: false tag: latest - githubRelease: false prerelease: false + githubTag: ${{ github.event.release.tag_name || inputs.tag }} secrets: inherit