From 4fb748347d750cd23858764e30db0353b4952022 Mon Sep 17 00:00:00 2001 From: Jan Librowski Date: Fri, 20 Feb 2026 14:16:39 +0100 Subject: [PATCH] Remove setting beta dist tag as latest when publishing new package version --- .github/workflows/deploy-production.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index b41270b..95374c2 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -67,18 +67,8 @@ jobs: cd packages/ui - # Check if version contains "beta" - if [[ "${{ steps.version-check.outputs.new }}" == *"beta"* ]]; then - echo "Publishing @synergycodes/overflow-ui@${{ steps.version-check.outputs.new }} with 'beta' tag…" - npm publish --tag beta --access public --provenance - - echo "Adding 'latest' tag to beta version…" - # INFO: The line below marks each beta version as latest. Once we publish stable version we should remove it - npm dist-tag add @synergycodes/overflow-ui@${{ steps.version-check.outputs.new }} latest - else - echo "Publishing @synergycodes/overflow-ui@${{ steps.version-check.outputs.new }} with 'latest' tag…" - npm publish --access public --provenance - fi + echo "Publishing @synergycodes/overflow-ui@${{ steps.version-check.outputs.new }}…" + npm publish --access public --provenance else echo "Version unchanged. Skipping build and publish." fi