fix tagging in workflow
Some checks failed
Continuous Integration / Update Development (push) Successful in 2m31s
Continuous Deployment / Update Deployment (push) Failing after 1m42s

apparently git pull doesn't properly fetch new tags on upstream, so call that fetch first
This commit is contained in:
2025-12-12 16:16:48 -06:00
parent 445c15b797
commit 4d19f26f01

View File

@@ -50,10 +50,10 @@ jobs:
echo "Current Revision: $version" echo "Current Revision: $version"
echo "Updating to: ${{ github.sha }} echo "Updating to: ${{ github.sha }}
sudo -u nginx git reset --hard 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 sudo -u nginx git pull origin main
new_version=`git log -1 --format=%H` 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 - name: Update Shared Dependencies and Fix Permissions
run: | run: |