diff --git a/.github/workflows/build_houdini.yml b/.github/workflows/build_houdini.yml index 948370f..7dbd385 100644 --- a/.github/workflows/build_houdini.yml +++ b/.github/workflows/build_houdini.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v3 - name: Switch to latest release tag run: | - git fetch --all --tags + git fetch --all --tags --force latest_release_tag=$(git tag -l --sort=-version:refname v* | head -1) git checkout tags/$latest_release_tag - name: Install system packages @@ -68,7 +68,7 @@ jobs: uses: actions/checkout@v3 - name: Switch to latest release tag run: | - git fetch --all --tags + git fetch --all --tags --force $latest_release_tag=git tag -l --sort=-version:refname v* | select -first 1 git checkout tags/$latest_release_tag - name: Install system packages @@ -122,7 +122,7 @@ jobs: path: artifacts - name: Upload artifact as release asset run: | - git fetch --all --tags + git fetch --all --tags --force latest_release_tag=$(git tag -l --sort=-version:refname v* | head -1) gh release upload $latest_release_tag artifacts/*.zip --clobber env: