Github action workflow to run a build for the latest version and upload the artifacts to a "latest" pre-release

This commit is contained in:
Frank Becker
2023-08-15 10:16:29 -07:00
parent 1d566c942d
commit 17c385be53
2 changed files with 80 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
$tag = git describe --always --tags "--abbrev=0"
$revision = git describe --always --tags
$tag = git describe --always --tags "--abbrev=0" --exclude latest
$revision = git describe --always --tags --exclude latest
$text = @"
// This file is generated by update-version.ps1
@@ -10,4 +10,4 @@ using System.Reflection;
[assembly: AssemblyInformationalVersion("$revision")]
"@
$text | Out-File $PSScriptRoot\..\GitVersion.cs -Encoding utf8
$text | Out-File $PSScriptRoot\..\GitVersion.cs -Encoding utf8