Skip to content

Commit

Permalink
fix: support passing version to installer
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Jan 23, 2025
1 parent 06c0185 commit b885ded
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/installer.tpl.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env sh
set -e

set -eu

if [ -n "${DEBUG:-}" ]; then
set -x
fi

RELEASES_URL="https://github.com/ekristen/distillery/releases"
FILE_BASENAME="distillery"
Expand Down Expand Up @@ -76,4 +81,4 @@ check_sha_version() {
)

tar -xf "$TMP_DIR/$TAR_FILE" -C "$TMP_DIR"
"$TMP_DIR/dist" "install" "ekristen/distillery" "$@"
"$TMP_DIR/dist" "install" "github/ekristen/distillery@{$VERSION}" "$@"

0 comments on commit b885ded

Please sign in to comment.