Skip to content

Commit c94c8cb

Browse files
authored
fix(github/workflow): depth 0 to really fetch tags (#784)
1 parent da94584 commit c94c8cb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/build_publish_image_release.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- 'wdqs@*'
99
- 'wdqs-frontend@*'
1010
- 'wdqs-proxy@*'
11-
- 'wikibase@*'
11+
- 'wikibase@*'
1212

1313
permissions:
1414
contents: write
@@ -36,8 +36,6 @@ jobs:
3636
fi
3737
3838
- uses: actions/checkout@v4
39-
with:
40-
fetch-tags: true
4139

4240
- uses: ./.github/actions/setup-environment
4341
with:
@@ -56,5 +54,5 @@ jobs:
5654
5755
git config --global user.name 'wikibase suite github actions bot'
5856
git config --global user.email '[email protected]'
59-
57+
6058
./nx release publish -p ${{ steps.extract_tag.outputs.imageName }}

.github/workflows/create_release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
- uses: actions/checkout@v4
3636
with:
3737
fetch-tags: true
38+
fetch-depth: 0
3839

3940
- uses: ./.github/actions/setup-environment
4041
with:

0 commit comments

Comments
 (0)