Skip to content

Commit 0a81ce2

Browse files
committed
Force fetch git tags FOLIO-4039
The fetch-tags during checkout is not effective. actions/checkout#1467 (comment)
1 parent 4cea82d commit 0a81ce2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: .github/workflows/docker-version-number.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
steps:
2424
- name: Checkout ${{ github.repository }}
2525
uses: actions/checkout@v4
26-
with:
27-
fetch-depth: 1
28-
fetch-tags: true
26+
27+
- name: Fetch git tags
28+
run: git fetch --prune --prune-tags --force --depth=1
2929

3030
- name: Checkout folio-org/folio-tools
3131
if: ${{ inputs.is-release == 'False' }}

Diff for: .github/workflows/go-version-number.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
steps:
2424
- name: Checkout ${{ github.repository }}
2525
uses: actions/checkout@v4
26-
with:
27-
fetch-depth: 1
28-
fetch-tags: true
26+
27+
- name: Fetch git tags
28+
run: git fetch --prune --prune-tags --force --depth=1
2929

3030
- name: Checkout folio-org/folio-tools
3131
if: ${{ inputs.is-release == 'False' }}

0 commit comments

Comments
 (0)