--------- Co-authored-by: DavidMaliglowka <13022280+DavidMaliglowka@users.noreply.github.com> Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
21 lines
595 B
Bash
Executable File
21 lines
595 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "🚀 Starting release process..."
|
|
|
|
# Double-check we're not in pre-release mode (safety net)
|
|
if [ -f .changeset/pre.json ]; then
|
|
echo "⚠️ Warning: pre.json still exists. Removing it..."
|
|
rm -f .changeset/pre.json
|
|
fi
|
|
|
|
# Check if the extension version has changed and tag it
|
|
# This prevents changeset from trying to publish the private package
|
|
node .github/scripts/tag-extension.mjs
|
|
|
|
# Run changeset publish for npm packages
|
|
npx changeset publish
|
|
|
|
echo "✅ Release process completed!"
|
|
|
|
# The extension tag (if created) will trigger the extension-release workflow |