diff --git a/.github/workflows/upstream-sync.yml b/.github/workflows/upstream-sync.yml index 40a800a3960..96bba4349b5 100644 --- a/.github/workflows/upstream-sync.yml +++ b/.github/workflows/upstream-sync.yml @@ -29,7 +29,7 @@ jobs: git remote add upstream $UPSTREAM_REMOTE - name: Fetch all - run: git fetch --all + run: git fetch --all --tags - name: Checkout main-apache branch run: git checkout --track origin/main-apache @@ -43,3 +43,5 @@ jobs: - name: Push changes run: git push + - name: Push last tag + run: git push origin $(git tag --sort=creatordate | tail -n 1)