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

pre-commit: chartpress --reset on Chart.yaml/values.yaml changes #1970

Merged

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Dec 26, 2020

I was skeptical, but now I fully understand that pre-commit really doesn't bother you unless you change the specific liens of codes in the specific file that would be influenced.

For example, assume you have run chartpress --skip-build, the Chart.yaml file will have its line version: 0.10.6-n123.h1234567 set, which should be 0.0.1-set.by.chartpress by default. But, if you commit another line change in this file, you will be fine! Having chartpress --reset run as part of pre-commit won't change a thing and everything will be fine.

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

Successfully merging this pull request may close these issues.

1 participant