From 4d19f26f0177ca0e5f6e692395dcf34be74b36a6 Mon Sep 17 00:00:00 2001 From: hizumi Date: Fri, 12 Dec 2025 16:16:48 -0600 Subject: [PATCH] fix tagging in workflow apparently git pull doesn't properly fetch new tags on upstream, so call that fetch first --- .gitea/workflows/cd-deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/cd-deploy.yaml b/.gitea/workflows/cd-deploy.yaml index 98e5593..ca51f4a 100644 --- a/.gitea/workflows/cd-deploy.yaml +++ b/.gitea/workflows/cd-deploy.yaml @@ -50,10 +50,10 @@ jobs: echo "Current Revision: $version" echo "Updating to: ${{ github.sha }} sudo -u nginx git reset --hard - sudo -u nginx git pull origin main + sudo -u nginx git fetch --tags sudo -u nginx git pull origin main new_version=`git log -1 --format=%H` - echo "Sucessfully updated to: $new_version + echo "Successfully updated to: $new_version" - name: Update Shared Dependencies and Fix Permissions run: |