Skip to content

Commit c395eb2

Browse files
authored
Fixing AutoTag Logic for Tag Calculations (#21)
1 parent 9616174 commit c395eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/auto-create-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
shell: pwsh
2121
run: |
2222
Set-Location -Path "/home/runner/work/MultiNet/MultiNet/"
23-
$describedTag = git describe --tags
23+
$describedTag = git tag | Sort-Object -Descending | Select-Object -First 1
2424
# Need to hunt if it's a tag + commits or just tag
2525
$versionString = [string]::Empty
2626
if ($describedTag.Contains("-"))

0 commit comments

Comments
 (0)