Skip to content

Commit

Permalink
use --tags --force --prune
Browse files Browse the repository at this point in the history
  • Loading branch information
rose-a committed Apr 16, 2020
1 parent e5b12e7 commit 32d9e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branches-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Restore dotnet tools
run: dotnet tool restore
- name: Fetch complete repository including tags
run: git fetch --tags && git describe
run: git fetch --tags --force --prune && git describe
- name: Generate version info from git history
run: dotnet gitversion /output json > gitversion.json
- name: Upload version info file
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Restore dotnet tools
run: dotnet tool restore
- name: Fetch complete repository including tags
run: git fetch --tags && git describe
run: git fetch --tags --force --prune && git describe
- name: Generate version info from git history
run: dotnet gitversion /output json > gitversion.json
- name: Upload version info file
Expand Down

0 comments on commit 32d9e47

Please sign in to comment.