Skip to content

Commit

Permalink
ci: checkout repo with full history in publish job
Browse files Browse the repository at this point in the history
This is needed for `git describe` to extract the proper version,
including distance from latest tag.
  • Loading branch information
imiric committed Apr 21, 2024
1 parent d0eba0a commit ab80933
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-earthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
version: v0.8.8
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
# Needed for Earthly tagging to work
- name: Put back the git branch into git
run: |
Expand Down

0 comments on commit ab80933

Please sign in to comment.