Skip to content

Commit

Permalink
Fetch all commits and tags in release (#422)
Browse files Browse the repository at this point in the history
In release the latest tag is needed to build proper version.
  • Loading branch information
rgildein authored May 29, 2024
1 parent 1a67343 commit ee4a60c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
snap: ${{ steps.build.outputs.snap }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # NOTE(rgildein): Fetch all tags as the latest tag is required for build.
- uses: snapcore/action-build@v1
id: build
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit ee4a60c

Please sign in to comment.