Skip to content

Commit

Permalink
fix(release): properly set tag to url
Browse files Browse the repository at this point in the history
  • Loading branch information
mgred committed Aug 4, 2024
1 parent 6519339 commit 55756f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash

DEST="$(pwd)/dist"
URL="https://github.com/bzlparty/tools/releases/download/$TAG"
TAG=${GITHUB_REF_NAME:-main}
URL="https://github.com/bzlparty/tools/releases/download/$TAG"

if [ -z "$CI" ]; then
URL="file://$DEST"
Expand Down

0 comments on commit 55756f7

Please sign in to comment.