Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
devqik committed Jun 16, 2023
2 parents 540794c + 3097a14 commit 97eeffc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@ To use this pre-commit hook, you must first install the pre-commit framework. Fo

Once pre-commit is installed, add the following to your .pre-commit-config.yaml file:

```
yaml
Copy code
``` yaml
repos:
- repo: https://github.com/yorki404/bump-helm-chart-version
rev: v1.1.2
- repo: https://github.com/devqik/bump-helm-chart-version
rev: v1.0.0
hooks:
- id: bump-helm-chart-version
- id: bump-chart-version
entry: bump_helm_chart_version/bump_chart_version.py
language: python
name: Bump chart version
```
## Configuration
This pre-commit hook looks for changes in the /templates folder and helper function files to determine if the Helm chart patch version should be bumped. If you need to change the directory or file pattern, you can modify the bump_helm_chart_version.py script.
This pre-commit hook looks for changes in the /templates folder and helper function files to determine if the Helm chart patch version should be bumped. If you need to change the directory, main branch name or file pattern, you can modify the bump_chart_version.py script.
## Execution
Expand Down

0 comments on commit 97eeffc

Please sign in to comment.