There was an error while loading. Please reload this page.
1 parent 1f3f915 commit 41ffaf2Copy full SHA for 41ffaf2
1 file changed
.github/workflows/build.yaml
@@ -26,14 +26,17 @@ jobs:
26
shell: pwsh
27
run: |
28
$date = Get-Date -Format "yy.MM.dd"
29
+ Write-Host "Date: $date"
30
$tags = git tag -l "$date.*"
31
+ Write-Host "Tags: $($tags -join ', ')"
32
if ($tags) {
33
$last = $tags | ForEach-Object { ($_ -split '\.')[-1] } | Sort-Object {[int]$_} -Descending | Select-Object -First 1
34
$next = [int]$last + 1
35
} else {
36
$next = 1
37
}
38
$version = "$date.$next"
39
+ Write-Host "Generated version: $version"
40
echo version=$version >> $env:GITHUB_OUTPUT
41
42
- name: Publish (framework-dependent, single file)
0 commit comments