diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c835e3..56808be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -114,9 +114,18 @@ jobs: # Take the first tag as latestTag $latestTag = ($tags -split "`n")[0] - $range = "$latestTag" + "..@" - # Get changes for range + # Check if the latest tag is on the last commit + $latestCommit = git rev-parse HEAD + $latestTagCommit = git rev-list -n 1 $latestTag + + if ($latestCommit -eq $latestTagCommit -and $countTags -gt 1) { + # Use the previous tag if the latest tag is on the last commit + $latestTag = ($tags -split "`n")[1] + + } + + $range = "$latestTag" + "..@" $changes = git log --pretty=reference --no-decorate $range diff --git a/FASTER/FASTER.csproj b/FASTER/FASTER.csproj index a1995f4..70a663f 100644 --- a/FASTER/FASTER.csproj +++ b/FASTER/FASTER.csproj @@ -10,7 +10,7 @@ True FASTERKey.snk Keelah Fox, Jupster, Canno.n - 1.9.6.0 + 1.9.6.1 FoxliCorp. Fox's Arma Server Tool Extended Rewrite Copyright © 2019 diff --git a/FASTER/Views/About.xaml b/FASTER/Views/About.xaml index 382fee0..9c0d662 100644 --- a/FASTER/Views/About.xaml +++ b/FASTER/Views/About.xaml @@ -79,7 +79,7 @@ diff --git a/FASTER_Version.xml b/FASTER_Version.xml index b84a37b..b1f15c5 100644 --- a/FASTER_Version.xml +++ b/FASTER_Version.xml @@ -1,6 +1,6 @@  - 1.9.6.0 + 1.9.6.1 https://github.com/Foxlider/FASTER/releases/latest/download/Release_x64.zip https://github.com/Foxlider/FASTER/releases true