From b675d09c492c19184a6432ebf5d68403f7c88755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Fri, 1 Dec 2023 13:39:41 +0100 Subject: [PATCH] fix: release script --- build-static.sh | 2 +- release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-static.sh b/build-static.sh index adb7206e8..e4c878c7b 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 08065e5cf..6343cb1d5 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