Skip to content

Commit

Permalink
Force a full clone to work around fetch-tags bug/limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley committed Jan 26, 2024
1 parent a77acc2 commit d611001
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/_classic-buildpack-prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
ref: main
# Tags are not fetched by default, but we need them to determine the existing buildpack version.
fetch-tags: true
# Force a full clone, otherwise fetch-tags doesn't actually fetch any tags:
# https://github.com/actions/checkout/issues/1471
fetch-depth: 0
token: ${{ steps.generate-token.outputs.app_token }}

- name: Determine existing tagged version
Expand Down

0 comments on commit d611001

Please sign in to comment.