Skip to content

A self-hosted media server and file management system

fix: setting branch tag on main does not work in ci

aminnausin5a1d3597b1eb
diff --git a/.github/workflows/ci-docker-release.yml b/.github/workflows/ci-docker-release.yml
index d8d94e20..3f339f1c 100644
--- a/.github/workflows/ci-docker-release.yml
+++ b/.github/workflows/ci-docker-release.yml
@@ -117,6 +117,10 @@ jobs:
commit_message: 'chore: bump version to ${{ steps.set_release_info.outputs.TAG }}'
file_pattern: |
VERSION
+ - name: Fetch latest main and rebase
+ run: |
+ git fetch origin
+ git rebase origin/main
- name: Create and push Git tag
if: steps.set_release_info.outputs.TAG != ''
run: |