Skip to content

Commit

Permalink
#139 added release signing for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeAndNil committed Sep 12, 2024
1 parent 9d7c1cb commit bd23d64
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions doc/sign-log4net-libraries.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# see https://infra.apache.org/release-signing#openpgp-ascii-detach-sig
$DidSomething = $false
$Files = Get-Item $PSScriptRoot/../build/artifacts/* -Include *log4net*.nupkg, *log4net*.zip
foreach ($File in $Files)
{
$DidSomething = $true
"signing: $File"
gpg --armor --output "$($File.FullName).asc" --detach-sig $File.FullName
}

if (!$DidSomething)
{
Write-Error "No log4net artifacts found - are you sure you're in the right directory?"
exit 2
}

0 comments on commit bd23d64

Please sign in to comment.