Skip to content

Commit b078b39

Browse files
committed
Force fetch tags
Working around this: ``` From https://github.com/cloudflare/ebpf_exporter * [new branch] master -> origin/master * [new tag] v1.0.0 -> v1.0.0 * [new tag] v1.1.0 -> v1.1.0 * [new tag] v1.2.0 -> v1.2.0 * [new tag] v1.2.1 -> v1.2.1 * [new tag] v1.2.2 -> v1.2.2 * [new tag] v1.2.3 -> v1.2.3 * [new tag] v1.2.4 -> v1.2.4 ! [rejected] v1.2.5 -> v1.2.5 (would clobber existing tag) Error: Process completed with exit code 1. ```
1 parent 3088db1 commit b078b39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# * https://github.com/actions/checkout/issues/206
2020
- name: Fetch full git history
2121
run: |
22-
git fetch --prune --unshallow --tags
22+
git fetch --prune --unshallow --tags --force
2323
2424
- name: Build BCC and ebpf_exporter
2525
run: |
@@ -54,7 +54,7 @@ jobs:
5454
# * https://github.com/actions/checkout/issues/206
5555
- name: Fetch full git history
5656
run: |
57-
git fetch --prune --unshallow --tags
57+
git fetch --prune --unshallow --tags --force
5858
5959
- name: Build BCC and ebpf_exporter
6060
run: |

0 commit comments

Comments
 (0)