Skip to content

Commit 96d577b

Browse files
committed
workflow release time stamp on irc send
1 parent d38bbe5 commit 96d577b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-windows-mingw.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,11 @@ jobs:
176176
$pass = $env:IRC_PASS
177177
if([string]::IsNullOrWhiteSpace($pass)) { throw "IRC_PASS fehlt (GitHub Secret)!" }
178178
179-
$msg = "✅ Release erstellt: ${{ github.event.release.tag_name }}"
179+
$tz = [System.TimeZoneInfo]::FindSystemTimeZoneById("W. Europe Standard Time")
180+
$berlin = [System.TimeZoneInfo]::ConvertTimeFromUtc([DateTime]::UtcNow, $tz)
181+
$stamp = "v{0:yyyy-MM-dd_HH:mm}" -f $berlin
182+
183+
$msg = "✅ New Release created: $stamp"
180184
181185
$client = [System.Net.Sockets.TcpClient]::new()
182186
$client.Connect($server, $port)

0 commit comments

Comments
 (0)