Skip to content

Commit dbfd3a6

Browse files
authored
Merge pull request #123 from asgrim/fix-builds-on-forks-with-no-tags
Fix build phar job on forks that have no tags
2 parents 3d4ba78 + 230c48b commit dbfd3a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: .github/workflows/release-unsigned-phar.yml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
26+
# Ensure some kind of previous tag exists, otherwise box fails
27+
- run: git describe --tags HEAD || git tag 0.0.0
2628
- uses: ramsey/composer-install@v3
2729
- name: Build PHAR
2830
run: box compile

0 commit comments

Comments
 (0)