clod 0.1.38 → 0.1.41
raw patch · 6 files changed
+21/−9 lines, 6 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +1/−2
- bin/release +16/−3
- clod.cabal +1/−1
- man/clod.1.md +1/−1
- man/clod.7.md +1/−1
- man/clod.8.md +1/−1
CHANGELOG.md view
@@ -1,9 +1,8 @@ # Changelog -## [0.1.36] - 2025-04-04+## [0.1.41] - 2025-04-07 - [Automate release process](https://www.youtube.com/watch?v=MK6TXMsvgQg)- ## [0.1.6] - 2025-03-31 ### Changed
bin/release view
@@ -416,6 +416,10 @@ exit 1 fi +# Remember we're in the clod directory for this part+# Save current directory to return to it for homebrew operations+CLOD_DIR="$(pwd)"+ # Always update the bottle root_url to match the current version # even if we're not building a bottle - this prevents version mismatches ROOT_URL_TEMPLATE=" root_url \"https://github.com/fuzz/clod/releases/download/v$VERSION\" # BOTTLE_ROOT_URL_MARKER"@@ -608,7 +612,7 @@ if [[ "$upload_bottle" =~ ^[Yy] ]]; then # Change directory to the clod repository for GitHub operations- cd "$PROJECT_ROOT"+ cd "$CLOD_DIR" echo "Checking if release for v$VERSION exists..." if ! gh release view "v$VERSION" &>/dev/null; then@@ -616,9 +620,12 @@ gh release create "v$VERSION" --title "Release v$VERSION" --notes "Release v$VERSION with Homebrew bottle support." fi + # Go back to homebrew-tap directory to access the bottle file+ cd "../homebrew-tap"+ echo "Renaming bottle file to match Homebrew's expected filename..." # Use the exact filename from the JSON file- mv "../homebrew-tap/bottles/$bottle_file" "../homebrew-tap/bottles/$expected_filename"+ mv "bottles/$bottle_file" "bottles/$expected_filename" if [ $? -ne 0 ]; then echo "ERROR: Failed to rename bottle file to match Homebrew's expected filename." >&2 exit 1@@ -626,6 +633,9 @@ echo "Successfully renamed bottle file to: $expected_filename" + # Go back to clod directory for GitHub operations+ cd "$CLOD_DIR"+ echo "Uploading bottle to GitHub release v$VERSION in fuzz/clod repository..." if ! gh release upload "v$VERSION" "../homebrew-tap/bottles/$expected_filename" --clobber; then echo "ERROR: Failed to upload bottle to GitHub." >&2 @@ -737,7 +747,7 @@ fi # Return to original directory- cd "$PROJECT_ROOT" || exit 1+ cd "$CLOD_DIR" || exit 1 fi # Step 15: Commit and push Homebrew formula update@@ -757,6 +767,9 @@ fi ) fi++# Return to clod directory no matter what+cd "$CLOD_DIR" || exit 1 echo "=== Release process complete! ===" echo "Version $VERSION has been released to Hackage and the Homebrew formula has been updated."
clod.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: clod-version: 0.1.38+version: 0.1.41 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
man/clod.1.md view
@@ -1,4 +1,4 @@-% CLOD(1) Clod 0.1.38+% CLOD(1) Clod 0.1.41 % Fuzz Leonard & Claude <ink@fuzz.ink> % March 2025
man/clod.7.md view
@@ -1,4 +1,4 @@-% CLOD(7) Clod 0.1.38+% CLOD(7) Clod 0.1.41 % Fuzz Leonard & Claude <ink@fuzz.ink> % March 2025
man/clod.8.md view
@@ -1,4 +1,4 @@-% CLOD(8) Clod 0.1.38+% CLOD(8) Clod 0.1.41 % Fuzz Leonard & Claude <ink@fuzz.ink> % March 2025