File tree Expand file tree Collapse file tree 2 files changed +30
-30
lines changed
Expand file tree Collapse file tree 2 files changed +30
-30
lines changed Original file line number Diff line number Diff line change @@ -76,21 +76,21 @@ jobs:
7676
7777 echo "✅ Package.json updated successfully"
7878
79- - name: Final safety check before publish
80- run: |
81- # Double-check package name one more time before publishing
82- CURRENT_PACKAGE_NAME=$(node -p "require('./package.json').name")
83- OFFICIAL_PACKAGE="@base44/sdk"
84-
85- echo "About to publish: $CURRENT_PACKAGE_NAME"
86-
87- if [ "$CURRENT_PACKAGE_NAME" = "$OFFICIAL_PACKAGE" ]; then
88- echo "❌ CRITICAL ERROR: About to publish to official package name!"
89- echo "This is not allowed. Check the workflow configuration."
90- exit 1
91- fi
92-
93- echo "✅ Safety check passed. Package name is safe to publish."
79+ - name : Final safety check before publish
80+ run : |
81+ # Double-check package name one more time before publishing
82+ CURRENT_PACKAGE_NAME=$(node -p "require('./package.json').name")
83+ OFFICIAL_PACKAGE="@base44/sdk"
84+
85+ echo "About to publish: $CURRENT_PACKAGE_NAME"
86+
87+ if [ "$CURRENT_PACKAGE_NAME" = "$OFFICIAL_PACKAGE" ]; then
88+ echo "❌ CRITICAL ERROR: About to publish to official package name!"
89+ echo "This is not allowed. Check the workflow configuration."
90+ exit 1
91+ fi
92+
93+ echo "✅ Safety check passed. Package name is safe to publish."
9494
9595 - name : Publish preview package
9696 run : |
Original file line number Diff line number Diff line change @@ -82,21 +82,21 @@ jobs:
8282
8383 echo "✅ Package.json updated successfully"
8484
85- - name: Final safety check before publish
86- run: |
87- # Double-check package name one more time before publishing
88- CURRENT_PACKAGE_NAME=$(node -p "require('./package.json').name")
89- OFFICIAL_PACKAGE="@base44/sdk"
90-
91- echo "About to publish: $CURRENT_PACKAGE_NAME"
92-
93- if [ "$CURRENT_PACKAGE_NAME" = "$OFFICIAL_PACKAGE" ]; then
94- echo "❌ CRITICAL ERROR: About to publish to official package name!"
95- echo "This is not allowed. Check the workflow configuration."
96- exit 1
97- fi
98-
99- echo "✅ Safety check passed. Package name is safe to publish."
85+ - name : Final safety check before publish
86+ run : |
87+ # Double-check package name one more time before publishing
88+ CURRENT_PACKAGE_NAME=$(node -p "require('./package.json').name")
89+ OFFICIAL_PACKAGE="@base44/sdk"
90+
91+ echo "About to publish: $CURRENT_PACKAGE_NAME"
92+
93+ if [ "$CURRENT_PACKAGE_NAME" = "$OFFICIAL_PACKAGE" ]; then
94+ echo "❌ CRITICAL ERROR: About to publish to official package name!"
95+ echo "This is not allowed. Check the workflow configuration."
96+ exit 1
97+ fi
98+
99+ echo "✅ Safety check passed. Package name is safe to publish."
100100
101101 - name : Publish preview package
102102 run : |
You can’t perform that action at this time.
0 commit comments