From 9937880c5c7953e230ef8e387a164e8b1ab7a640 Mon Sep 17 00:00:00 2001 From: Bryce Thorup Date: Wed, 27 May 2026 13:17:06 -0600 Subject: [PATCH] fix --- action.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.sh b/action.sh index fd547f3..d98ca44 100755 --- a/action.sh +++ b/action.sh @@ -4,11 +4,12 @@ git config --global user.email "cloud+git+runner@thorup.us" git config --global user.name "Git runner" CURRENT_VERSION=$INPUT_PREFIX$(jq -r .version package.json) echo $CURRENT_VERSION +git checkout $CURRENT_VERSION if [[ $INPUT_FORCE_OVERRIDE == true ]]; then git tag -d $CURRENT_VERSION || true - git push --delete origin $CURRENT_VERION || true + git push --delete origin $CURRENT_VERSION || true fi PREVIOUS_VERSIONS=$(git tag -l)