Skip to content

Commit

Permalink
fix: release script
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Dec 1, 2023
1 parent e9dfe40 commit b675d09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if [ -z "$FRANKENPHP_VERSION" ]; then
elif [ -d ".git/" ]; then
CURRENT_REF="$(git rev-parse --abbrev-ref HEAD)"
export CURRENT_REF
git checkout "$FRANKENPHP_VERSION"
git checkout "v$FRANKENPHP_VERSION"
fi

bin="frankenphp-$os-$arch"
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ git tag -s -m "Version $1" "caddy/v$1"
git push --follow-tags

if [ "$(uname -s)" = "Darwin" ]; then
FRANKENPHP_VERSION=v$1 RELEASE=1 ./build-static.sh
FRANKENPHP_VERSION=$1 RELEASE=1 ./build-static.sh
fi

0 comments on commit b675d09

Please sign in to comment.