Skip to content

Commit

Permalink
Fix tag handling in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hugheaves committed Dec 15, 2023
1 parent e9ee542 commit 0186819
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Force fetch annotated tags (workaround)
# Workaround for https://github.com/actions/checkout/issues/290
run: git fetch --force --tags
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
Expand All @@ -31,8 +33,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0


- name: Force fetch annotated tags (workaround)
# Workaround for https://github.com/actions/checkout/issues/290
run: git fetch --force --tags
- name: Setup Go
uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -64,7 +67,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Force fetch annotated tags (workaround)
# Workaround for https://github.com/actions/checkout/issues/290
run: git fetch --force --tags
- name: Setup Go
uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -96,7 +101,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Force fetch annotated tags (workaround)
# Workaround for https://github.com/actions/checkout/issues/290
run: git fetch --force --tags
- name: Setup Go
uses: actions/setup-go@v4
with:
Expand Down

0 comments on commit 0186819

Please sign in to comment.