diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af6fb0cc5..d8c3fb1fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,7 @@ jobs: id: latest_tag shell: bash run: | - tag=$(git describe --tags --abbrev=0) + tag=$(git describe --tags --abbrev=0 origin/main) if [ -z "$tag" ]; then echo "❌ Latest tag not found" && exit 1 else