Skip to content

Commit

Permalink
fix(github/workflow): depth 0 to really fetch tags (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
rti authored Oct 4, 2024
1 parent da94584 commit c94c8cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build_publish_image_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'wdqs@*'
- 'wdqs-frontend@*'
- 'wdqs-proxy@*'
- 'wikibase@*'
- 'wikibase@*'

permissions:
contents: write
Expand Down Expand Up @@ -36,8 +36,6 @@ jobs:
fi
- uses: actions/checkout@v4
with:
fetch-tags: true

- uses: ./.github/actions/setup-environment
with:
Expand All @@ -56,5 +54,5 @@ jobs:
git config --global user.name 'wikibase suite github actions bot'
git config --global user.email '[email protected]'
./nx release publish -p ${{ steps.extract_tag.outputs.imageName }}
1 change: 1 addition & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0

- uses: ./.github/actions/setup-environment
with:
Expand Down

0 comments on commit c94c8cb

Please sign in to comment.