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

[Feature]: enhance bumping of YAML files #104

Open
1 task done
ga-paul-t opened this issue Mar 4, 2022 · 0 comments
Open
1 task done

[Feature]: enhance bumping of YAML files #104

ga-paul-t opened this issue Mar 4, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request pinned Prevent the issue from being automatically closed

Comments

@ga-paul-t
Copy link
Collaborator

ga-paul-t commented Mar 4, 2022

Describe your feature

File bumping only supports version detection through regular expressions at present. This works as a nice catch-all mechanism for custom file types within a repository. However, when dealing with YAML files, it would be much simpler (and provide a better developer experience) to support the use of YAML paths to locate and replace a version.

Your potential solution

Expand the existing config to support the inclusion of a YAML path(s) when defining a bump.

bumps:
  - 
    file: ./Chart.yaml
    yaml: 
       - path: 'version'
         semver: true
       - path: 'appVersion'

Any additional information?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ga-paul-t ga-paul-t added enhancement New feature or request pinned Prevent the issue from being automatically closed triage Issue has been added to our triage list labels Mar 4, 2022
@ga-paul-t ga-paul-t self-assigned this Mar 4, 2022
@ga-paul-t ga-paul-t changed the title [Feature]: enhance bumping of YAML files using YAML paths [Feature]: enhance bumping of YAML files May 23, 2022
@ga-paul-t ga-paul-t removed the triage Issue has been added to our triage list label May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned Prevent the issue from being automatically closed
Projects
None yet
Development

No branches or pull requests

1 participant