Skip to content

Commit

Permalink
Fix BigWigs packager by checking out latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Jademalo committed Jul 14, 2022
1 parent d1c5a3a commit 58fa47a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
# which is useful for controlling the length of the automated changelog
fetch-depth: 50

# Checkout the latest tag to prevent the duplicate run check
- name: Checkout latest tag
run: |
git fetch --tags
latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $latestTag
# once cloned, we just run the GitHub Action for the packager project
- name: Package and Release
uses: BigWigsMods/packager@v2

0 comments on commit 58fa47a

Please sign in to comment.