diff --git a/build-static.sh b/build-static.sh index adb7206e..e4c878c7 100755 --- a/build-static.sh +++ b/build-static.sh @@ -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" diff --git a/release.sh b/release.sh index 08065e5c..6343cb1d 100755 --- a/release.sh +++ b/release.sh @@ -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