google / jsonnet

Jsonnet - The data templating language
http://jsonnet.org
Apache License 2.0
6.92k stars 438 forks source link

Add source archive and snippet to release #1089

Closed mortenmj closed 1 year ago

mortenmj commented 1 year ago

@sparkprime ref my comment in #1083, BCR requires that a stable source archive is added to the release. I cribbed this from rules_python, and edited the snippet it generates a bit. Here's an example of what it generates:

https://github.com/mortenmj/jsonnet/releases/tag/v0.21.0

I have no real opinions on what text this release snippet should contain, if anything.

Here's a full example from rules_python: https://github.com/bazelbuild/rules_python/releases/tag/0.22.0

I had to grant GitHub Actions read/write permissions to the repo for this to work. It's in "Workflow permissions" under Settings -> Actions -> General.

sparkprime commented 1 year ago

Looks like Github Actions already had the permissions.

This doesn't change our release process I guess then. It will just automatically create this additional artifact and we don't have to worry about it.