fix tagging in workflow
apparently git pull doesn't properly fetch new tags on upstream, so call that fetch first
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user