[gh-actions] publishing nuget package on release#117
[gh-actions] publishing nuget package on release#117StefH merged 3 commits intojmespath-community:mainfrom
Conversation
eb4b43b to
c2537ff
Compare
|
@StefH this is an initial workflow to publish NuGet packages from Release tags. I have made extensive tests in a personal repository and hopefully there are no (or very few) bugs. Please, review and merge. Once that works, a new release to the project with name |
|
@springcomp
|
|
@StefH good catch, sorry! That was a permission mistake on my part. Happy maintaining ! |
|
@springcomp
|
|
@StefH I have remove branch protection on For some reason, I cannot seem to make it work the way I want 🤷♂️. |
|
@springcomp |
|
@StefH we are re-using the same So we need a version number greater than that. |
|
@springcomp Because I see an error while building the release? |
|
@StefH sorry for that 😥 I’ll work with @jdevillard to understand and fix the issue. |
|
@StefH damned ! The PowerShell script was so flaky. Anyway, this is solved now. I moved the tag and re-created the release and successfully published the new package. I always forget how painful it is to troubleshoot YAML ci/cd pipelines 😥. Thanks for bearing with me. |


Fixes #114.
This PR adds a new
publish.yamlworkflow that triggers on new releases.The release MUST be associated with a tag having the following format
v<M.m.n>(version number).How it works
publish.yamlworkflow using theSN_PASSPHRASE,SN_SALTandSN_INITrepository secrets. That makes sure the resulting assemblies have the official JMESPath Community "identity" (kindly transferred from @jdevillard).The resulting package is published to NuGet.org.
Note: this PR is a draft, pending:SN_PASSPHRASE,SN_SALTandSN_INIT.