Skip to content

Commit

Permalink
extended preview script for signing and tag creation
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeAndNil committed Sep 19, 2024
1 parent 13d4e6d commit f45a04e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion scripts/build-preview.ps1
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
dotnet build -c Release '-p:GeneratePackages=true;PackageVersion=3.0.1-preview.2' $PSScriptRoot/../src/log4net/log4net.csproj
$Version = '3.0.1'
$Preview = '2'
'building ...'
dotnet build -c Release "-p:GeneratePackages=true;PackageVersion=$Version-preview.$Preview" $PSScriptRoot/../src/log4net/log4net.csproj
'signing ...'
gpg --armor --output $PSScriptRoot\..\build\artifacts\log4net.$Version-preview.$Preview.nupkg.asc --detach-sig $PSScriptRoot\..\build\artifacts\log4net.$Version-preview.$Preview.nupkg
'create tag?'
pause
'creating tag ...'
git tag "rc/$Version-preview.$Preview"
'pushing tag ...'
git push --tags

0 comments on commit f45a04e

Please sign in to comment.