Skip to content

Commit

Permalink
Merge pull request #13 from pdecat/fix/release_builds
Browse files Browse the repository at this point in the history
fix: allow downloading release from builds directory
  • Loading branch information
cheetah authored Jun 25, 2024
2 parents 4c6cb6f + f6e7e53 commit 9d11e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ get_url() {
else
url=$( \
curl -s $BASE_URL \
| sed -n 's/"tarball": "\(.*\/download\/.*zig-'"$platform"'-'"$arch"'-'"$version"'\.tar.*\)",/\1/p' \
| sed -E -n 's/"tarball": "(.*\/(download|builds)\/.*zig-'"$platform"'-'"$arch"'-'"$version"'\.tar.*)",/\1/p' \
)
fi

Expand Down

0 comments on commit 9d11e5b

Please sign in to comment.