coverlet-coverage / coverlet

Cross platform code coverage for .NET
MIT License
2.98k stars 386 forks source link

add sign tool #1551

Closed Bertk closed 8 months ago

Bertk commented 10 months ago

:warning: Do not merge without pipeline tests

A variable group has to be created which has the secrets for code signing. This variables use :lock: and are not visible.

image

By the way, the parameter /p:PublicRelease=xxxx might not be active in this build pipeline. I think this is only active for build pipelines using using Microsoft Arcade build tooling.

=> Why not always sign the nuget packages created by nightly build ?!?

Does not include:

Upload *.nupkg files to Nuget.org site. Check all metadata(url links, deterministic build etc...) before "Submit"

MarcoRossignoli commented 10 months ago

Why not always sign the nuget packages created by nightly build ?!?

We could do that but at the moment the rate of release is not huge we're doing it 3/5 per year and less we put that pwd around better is imo, BUT for start we could have this pipeline that we can run "manually" with some "enable" for the step and we "also" sign and publish the version inside the artifacts in case of "official release". We need to understand if worth it or not the "manual" release workflow is matter of 15/20 today.

@daveMueller what you think? Do you feel ready to have the pwd and do the deploy too? You're long standing maintainer and you could share (till Bert warmup) with me the deploy task too.

Bertk commented 10 months ago

Code sign secrets can be sored in variable group (pipeline library).

image