fix: release script

This commit is contained in:
Kévin Dunglas
2023-12-01 13:39:41 +01:00
parent e9dfe4000e
commit b675d09c49
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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