protothreads.c

Git mirror of http://dunkels.com/adam/pt/index.html
git clone git://git.finwo.net/lib/protothreads.c
Log | Files | Refs

commit 3636211acf1b1d324dbfc79b020f28607b37ab34
parent 9b01913b99d2f75c5e65f029abb0edc353288e1b
Author: finwo <finwo@pm.me>
Date:   Sun, 19 Feb 2023 22:01:28 +0100

Try to checkout the existing release branch first

Diffstat:
Mscripts/build-tag.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/build-tag.sh b/scripts/build-tag.sh @@ -52,7 +52,7 @@ rm -rf "${DIR}/../build" git init "${DIR}/../build" git -C "${DIR}/../build" remote add origin "$(git -C "${DIR}/../" remote get-url origin)" git -C "${DIR}/../build" fetch --all -git -C "${DIR}/../build" checkout -b "release-${TAG}" +git -C "${DIR}/../build" checkout "release-${TAG}" || git -C "${DIR}/../build" checkout -b "release-${TAG}" rm -rf "${DIR}/../build/*" # Load tarball into directory