Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down