From 04805b543bf2d070904a23d12d4f9e6a0260139b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 29 Aug 2023 16:48:51 +0200 Subject: [PATCH 1/1] build: fix beta version publication MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/dependabot.yml | 11 ----------- .github/workflows/npmpublish.yml | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) 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 }} -- 2.34.1