Skip to content

Commit

Permalink
Make actions/checkout fetch tags too
Browse files Browse the repository at this point in the history
Since we need them to be able to determine the buildpack version
  • Loading branch information
edmorley committed Jan 26, 2024
1 parent 3ae60b4 commit a77acc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/_classic-buildpack-prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
with:
# We always want the version bump/changelog and resultant PR to target main, not the branch of the workflow_dispatch.
ref: main
# Tags are not fetched by default, but we need them to determine the existing buildpack version.
fetch-tags: true
token: ${{ steps.generate-token.outputs.app_token }}

- name: Determine existing tagged version
Expand Down

0 comments on commit a77acc2

Please sign in to comment.