Skip to content

Commit c0f7c1c

Browse files
authored
Fix CI to publish Canasta version tag (#600)
The checkout step defaults to fetch-depth: 1 (shallow clone), so HEAD~1 does not exist and the git diff that detects VERSION file changes silently fails. Add fetch-depth: 2 so the previous commit is available for comparison. Fixes #599
1 parent 789de78 commit c0f7c1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
steps:
4141
- name: Checkout
4242
uses: actions/checkout@v3
43+
with:
44+
fetch-depth: 2
4345
-
4446
name: Install regctl
4547
uses: regclient/actions/regctl-installer@v0.1

0 commit comments

Comments
 (0)