From: Jérôme Benoit Date: Tue, 29 Aug 2023 14:48:51 +0000 (+0200) Subject: build: fix beta version publication X-Git-Tag: v2.6.38~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=04805b543bf2d070904a23d12d4f9e6a0260139b;p=poolifier.git build: fix beta version publication Signed-off-by: Jérôme Benoit --- diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 11bc761d..b9ed2479 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -152,14 +152,3 @@ updates: - 'pioardi' - 'jerome-benoit' versioning-strategy: increase - - package-ecosystem: 'npm' - directory: '/examples/typescript/websocket-server-pool/ws-cluste' - schedule: - interval: 'daily' - labels: - - 'dependencies' - - 'examples' - reviewers: - - 'pioardi' - - 'jerome-benoit' - versioning-strategy: increase diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 1b682479..1fa44786 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -71,7 +71,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish Pre-Release - if: ${{ contains(steps.package-version.outputs.version, '-') == true }} + if: ${{ contains(steps.package-version.outputs.version, '-') == true && contains(steps.package-version.outputs.version, '-beta') == false }} run: pnpm publish --no-git-checks --tag next env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}