Skip to content

Commit d1b26be

Browse files
authored
Remove setting beta dist tag as latest when publishing new package version (#140)
1 parent dcbc68d commit d1b26be

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/deploy-production.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,8 @@ jobs:
6767
6868
cd packages/ui
6969
70-
# Check if version contains "beta"
71-
if [[ "${{ steps.version-check.outputs.new }}" == *"beta"* ]]; then
72-
echo "Publishing @synergycodes/overflow-ui@${{ steps.version-check.outputs.new }} with 'beta' tag…"
73-
npm publish --tag beta --access public --provenance
74-
75-
echo "Adding 'latest' tag to beta version…"
76-
# INFO: The line below marks each beta version as latest. Once we publish stable version we should remove it
77-
npm dist-tag add @synergycodes/overflow-ui@${{ steps.version-check.outputs.new }} latest
78-
else
79-
echo "Publishing @synergycodes/overflow-ui@${{ steps.version-check.outputs.new }} with 'latest' tag…"
80-
npm publish --access public --provenance
81-
fi
70+
echo "Publishing @synergycodes/overflow-ui@${{ steps.version-check.outputs.new }}…"
71+
npm publish --access public --provenance
8272
else
8373
echo "Version unchanged. Skipping build and publish."
8474
fi

0 commit comments

Comments
 (0)