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
7 changes: 7 additions & 0 deletions Scripts/prepare_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ cp "$ARCHIVE_EXECUTABLE" CommandLineTool/swiftformat
echo "Formatting using new binary..."
bash format.sh

# 9. Build again after formatting to ensure no issues were introduced
echo "Building after formatting..."
if ! swift build -c release; then
echo "Error: Build failed after formatting. Please fix the issues before proceeding."
exit 1
fi

echo ""
echo "✅ Release preparation completed successfully for version $NEW_VERSION!"
echo ""
Expand Down