Skip to content

Commit

Permalink
Fix CLI release (#100)
Browse files Browse the repository at this point in the history
* Fix brew install

* Fix CLI launcher

* Bump version
  • Loading branch information
Sohalt authored Nov 7, 2023
1 parent 6d6d187 commit 1fbb4a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion brew/garden.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Garden < Formula

depends_on "borkdude/brew/babashka"

install do
def install
bin.install "garden"
end

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mkdir -p "$target_dir"
tmpdir="$(mktemp -d)"
cd "$tmpdir"
echo "#!/bin/sh
exec bb -Sdeps '{:deps {io.github.nextjournal/garden-cli {:git/sha \"${rev}\"}}}' -Dnextjournal.garden.rev=${shortRev} -m garden \$@" > garden
exec bb -Sdeps '{:deps {io.github.nextjournal/garden-cli {:git/sha \"${rev}\"}}}' -Dnextjournal.garden.rev=${shortRev} -m nextjournal.garden-cli \$@" > garden
chmod +x garden
tar caf "$target_dir/garden.tar.gz" garden
sha256sum "$target_dir/garden.tar.gz" | cut -d " " -f 1 > "$target_dir/garden.tar.gz.sha256"
Expand Down
2 changes: 1 addition & 1 deletion resources/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.3
0.0.4

0 comments on commit 1fbb4a2

Please sign in to comment.