Skip to content
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

Let info.json provide release/pre-release/build properly #101

Closed
consideRatio opened this issue Oct 19, 2019 · 1 comment
Closed

Let info.json provide release/pre-release/build properly #101

consideRatio opened this issue Oct 19, 2019 · 1 comment

Comments

@consideRatio
Copy link
Member

consideRatio commented Oct 19, 2019

I want info.json to categorize the following properly, allowing us to use this json response to generate nice badges for our repository readme files.

This is aligning with development in chartpress. But, there is trouble to debug still with that.

Latest release

x.y.z

Latest pre-releases

x.y.z-alpha.1

Latest build

x.y.z-alpha.1+001.asdf1234
x.y.z+001.asdf1234

@consideRatio consideRatio changed the title Make info.json manage stable/pre/dev Let info.json provide release/pre-release/build properly Oct 19, 2019
@consideRatio
Copy link
Member Author

There was some drama as Helm actually didn't support using the + part of SemVer with the helm repo index command as it considered all the different builds to be the same version and failed to do its merging logic correctly. I pinned down this here: helm/helm#6710

Anyhow, with chartpress version >= 0.4.3, we have a new system of versioning charts where the + sign simply became another . sign. And in 6762a4c i implemented an update to the gh-pages info.json allowing us to get badges like this:

Latest stable release
Latest pre release
Latest dev release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant