diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
 # Changelog
 
-## [0.1.27] - 2025-04-04
+## [0.1.28] - 2025-04-04
 
 - [Automate release process](https://www.youtube.com/watch?v=MK6TXMsvgQg)
 
diff --git a/bin/release b/bin/release
--- a/bin/release
+++ b/bin/release
@@ -600,8 +600,13 @@
     
     # Update the rebuild directive in the formula
     echo "Setting rebuild to $rebuild_num based on bottle filename"
-    if grep -q "^    rebuild " Formula/clod.rb; then
-      sed -i '' "s/^    rebuild [0-9]\+$/    rebuild $rebuild_num/" Formula/clod.rb
+    # Use awk to properly match and replace the rebuild line
+    awk -v num="$rebuild_num" '{if ($1 == "rebuild") {print "    rebuild " num;} else {print $0;}}' Formula/clod.rb > Formula/clod.rb.new
+    mv Formula/clod.rb.new Formula/clod.rb
+    
+    # Verify the rebuild was updated correctly
+    echo "Verifying rebuild number in formula:"
+    grep "rebuild" Formula/clod.rb
     else
       sed -i '' "/root_url/a\\
     rebuild $rebuild_num" Formula/clod.rb
diff --git a/clod.cabal b/clod.cabal
--- a/clod.cabal
+++ b/clod.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.4
 name:                clod
-version:             0.1.27
+version:             0.1.28
 synopsis:            Project file manager for Claude AI integrations
 description:         Clod (Claude Loader) is a utility for preparing and uploading files to Claude AI's 
                      Project Knowledge feature. It tracks file changes, respects .gitignore and .clodignore 
diff --git a/man/clod.1.md b/man/clod.1.md
--- a/man/clod.1.md
+++ b/man/clod.1.md
@@ -1,4 +1,4 @@
-% CLOD(1) Clod 0.1.27
+% CLOD(1) Clod 0.1.28
 % Fuzz Leonard & Claude <ink@fuzz.ink>
 % March 2025
 
diff --git a/man/clod.7.md b/man/clod.7.md
--- a/man/clod.7.md
+++ b/man/clod.7.md
@@ -1,4 +1,4 @@
-% CLOD(7) Clod 0.1.27
+% CLOD(7) Clod 0.1.28
 % Fuzz Leonard & Claude <ink@fuzz.ink>
 % March 2025
 
diff --git a/man/clod.8.md b/man/clod.8.md
--- a/man/clod.8.md
+++ b/man/clod.8.md
@@ -1,4 +1,4 @@
-% CLOD(8) Clod 0.1.27
+% CLOD(8) Clod 0.1.28
 % Fuzz Leonard & Claude <ink@fuzz.ink>
 % March 2025
 
