Skip to content

Commit

Permalink
Fetch all tags during upload
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaScheller committed Sep 2, 2023
1 parent 2b1fb3c commit bce7a55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_houdini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v3
- name: Switch to latest release tag
run: |
git fetch --all --tags
git fetch --all --tags
latest_release_tag=$(git tag -l --sort=-version:refname v* | head -1)
git checkout tags/$latest_release_tag
- name: Install system packages
Expand Down Expand Up @@ -70,6 +70,7 @@ jobs:
path: artifacts
- name: Upload artifact as release asset
run: |
git fetch --all --tags
latest_release_tag=$(git tag -l --sort=-version:refname v* | head -1)
gh release upload $latest_release_tag artifacts/*.zip --clobber
env:
Expand Down

0 comments on commit bce7a55

Please sign in to comment.