From: Jérôme Benoit Date: Sat, 18 Mar 2023 19:08:07 +0000 (+0100) Subject: build: permit SemVer pre-release publication X-Git-Tag: v2.3.10-1~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=17c90274b13fc2728dd50c42e39697fd0e5717cf;p=poolifier.git build: permit SemVer pre-release publication Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index e32ce385..2a72a4d8 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -58,8 +58,14 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Publish Beta - if: ${{ contains(steps.package-version.outputs.version, 'beta') }} - run: npm publish --tag beta + - name: Publish Pre-Release + if: ${{ contains(steps.package-version.outputs.version, '-') == true }} + run: npm publish --tag next env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + # - name: Publish Beta Release + # if: ${{ contains(steps.package-version.outputs.version, 'beta') == true }} + # run: npm publish --tag beta + # env: + # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}