-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish latest release number as part of creating a final release #42
Comments
That is a great idea. Which bucket should that be? It would have to be set to public, but I think cert-manager-release is not publically available: # gsutil acl get gs://cert-manager-release
[
{
"entity": "project-editors-1021342095237",
"projectTeam": {
"projectNumber": "1021342095237",
"team": "editors"
},
"role": "OWNER"
},
{
"entity": "project-owners-1021342095237",
"projectTeam": {
"projectNumber": "1021342095237",
"team": "owners"
},
"role": "OWNER"
},
{
"entity": "project-viewers-1021342095237",
"projectTeam": {
"projectNumber": "1021342095237",
"team": "viewers"
},
"role": "READER"
}
] To try it out, I created a bucket: gsutil mb -p cert-manager-release gs://cert-manager-rel
gsutil web set gs://cert-manager-rel
gsutil iam ch allUsers:objectViewer gs://cert-manager-rel
echo 1.5.3 >latest
gsutil cp latest gs://cert-manager-rel That would give: $ curl https://storage.googleapis.com/cert-manager-rel/latest
1.5.3 |
Thanks for investigating @maelvls 🙏🏼
It could have been nice if it was the same release bucket as that way we wouldn't need to make another bucket name configurable via params/would minimize the risk that someone accidentally overwrites the stable release name when testing publishing. |
You are correct, it is possible to set the
And then: $ curl https://storage.googleapis.com/cert-manager-release/latest
1.5.3 |
See cert-manager/website#690 (comment) for context.
It would be good if, as part of cutting a new release that is meant to be the latest final (non-alpha/beta release) we could also publish somewhere (probably a txt file in a bucket) the latest release version (i.e
v.1.5.3
) so we can then use that in our installation instructions (see i.e kubectl install instructions where version number is read from https://dl.k8s.io/release/stable.txt).The text was updated successfully, but these errors were encountered: