Skip to content

Commit 8f507a2

Browse files
committed
Updated release workflow.
1 parent 57c353f commit 8f507a2

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.github/workflows/create_release.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
$version = '${{ github.ref_name || inputs.version }}'
3131
$version = $version.TrimStart('v')
3232
33+
Write-Host "Version: " -NoNewLine
34+
Write-Host "$($PSStyle.Background.BrightCyan)$version$($PSStyle.Reset)"
35+
3336
if ([string]::IsNullOrEmpty($version)) { throw 'A release version was not specified.' }
3437
3538
# TODO: validate the version number format with regex
@@ -38,8 +41,18 @@ jobs:
3841
$prefix = $parts[0]
3942
$suffix = $parts[1]
4043
41-
echo "version-prefix=$prefix" >> $GITHUB_OUTPUT
42-
echo "version-suffix=$suffix" >> $GITHUB_OUTPUT
44+
Write-Host ""
45+
46+
Write-Host "Prefix: " -NoNewLine
47+
Write-Host "$($PSStyle.Background.BrightCyan)$prefix$($PSStyle.Reset)"
48+
49+
Write-Host "Suffix: " -NoNewLine
50+
Write-Host "$($PSStyle.Background.BrightCyan)$suffix$($PSStyle.Reset)"
51+
52+
Write-Host ""
53+
54+
echo "version-prefix=$prefix" >> $env:GITHUB_OUTPUT
55+
echo "version-suffix=$suffix" >> $env:GITHUB_OUTPUT
4356
build:
4457
uses: syntax-tm/SteamAchievementManager/.github/workflows/build.yml@main
4558
needs: setup

src/SAM.API/Stats/StatIsProtectedException.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Runtime.Serialization;
32

43
namespace SAM.API.Stats
54
{
@@ -19,10 +18,5 @@ public StatIsProtectedException(string message, Exception innerException)
1918
: base(message, innerException)
2019
{
2120
}
22-
23-
protected StatIsProtectedException(SerializationInfo info, StreamingContext context)
24-
: base(info, context)
25-
{
26-
}
2721
}
2822
}

0 commit comments

Comments
 (0)