Skip to content

Commit ff76158

Browse files
Add packages signature (#999)
Add packages signature
1 parent 32a857f commit ff76158

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

Documentation/ReleasePlan.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,23 @@ dotnet pack -c release /p:TF_BUILD=true /p:PublicRelease=true
9191
Successfully created package 'D:\git\coverlet\bin\Release\Packages\coverlet.collector.1.2.1.nupkg'.
9292
Successfully created package 'D:\git\coverlet\bin\Release\Packages\coverlet.collector.1.2.1.snupkg'.
9393
```
94+
4) Sign the packages using SignClient tool https://www.nuget.org/packages/SignClient
95+
96+
```powershell
97+
❯ SignClient "Sign" `
98+
>> --baseDirectory "REPO ROOT DIRECTORY\bin" `
99+
>> --input "**/*.nupkg" `
100+
>> --config "ROOT REPO DIRECTORY\eng\signclient.json" `
101+
>> --user "USER" `
102+
>> --secret "SECRET" `
103+
>> --name "Coverlet" `
104+
>> --description "Coverlet" `
105+
>> --descriptionUrl "https://github.com/coverlet-coverage/coverlet"
106+
```
94107

95-
4) Upload *.nupkg files to Nuget.org site. **Check all metadata(url links, deterministic build etc...) before "Submit"**
108+
5) Upload *.nupkg files to Nuget.org site. **Check all metadata(url links, deterministic build etc...) before "Submit"**
96109

97-
5) **On your fork**:
110+
6) **On your fork**:
98111
* Align to master
99112
* Bump version by one(fix part) and re-add `-preview.{height}`
100113
* Create release on repo https://github.com/tonerdo/coverlet/releases using https://github.com/tonerdo/coverlet/blob/master/src/coverlet.core/coverlet.core.csproj assembly version

eng/signclient.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"SignClient": {
3+
"AzureAd": {
4+
"AADInstance": "https://login.microsoftonline.com/",
5+
"ClientId": "c248d68a-ba6f-4aa9-8a68-71fe872063f8",
6+
"TenantId": "16076fdc-fcc1-4a15-b1ca-32c9a255900e"
7+
},
8+
"Service": {
9+
"Url": "https://codesign.dotnetfoundation.org/",
10+
"ResourceId": "https://SignService/3c30251f-36f3-490b-a955-520addb85001"
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)