Skip to content

Commit 32d9e47

Browse files
committed
use --tags --force --prune
1 parent e5b12e7 commit 32d9e47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/branches-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Restore dotnet tools
2121
run: dotnet tool restore
2222
- name: Fetch complete repository including tags
23-
run: git fetch --tags && git describe
23+
run: git fetch --tags --force --prune && git describe
2424
- name: Generate version info from git history
2525
run: dotnet gitversion /output json > gitversion.json
2626
- name: Upload version info file

.github/workflows/main-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Restore dotnet tools
2525
run: dotnet tool restore
2626
- name: Fetch complete repository including tags
27-
run: git fetch --tags && git describe
27+
run: git fetch --tags --force --prune && git describe
2828
- name: Generate version info from git history
2929
run: dotnet gitversion /output json > gitversion.json
3030
- name: Upload version info file

0 commit comments

Comments
 (0)