mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
fix: release script
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user