Skip to content

Commit

Permalink
feat: use plugin branch to skip version logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Aug 24, 2022
1 parent 9fa7f8e commit 2a4a67e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 2a4a67e

Please sign in to comment.