jp00p / AGIMUS

Discord bot for Friends of Desoto
MIT License
10 stars 9 forks source link

Create automation to automatically bump semver #533

Open mathew-fleisch opened 5 months ago

mathew-fleisch commented 5 months ago

Before a container is built in a PR to agimus, the helm chart version should not be the same as the version in main. Create a job to automatically bump-patch the version (using the semver tool)) and push a commit back to the repo with a PR comment notifying the user to pull the changes to their branch.

semver yq

pi@newnuc ~/src/AGIMUS % yq e '.version' charts/agimus/Chart.yaml | tr -d 'v'
2.9.2
pi@newnuc ~/src/AGIMUS % semver bump patch $(yq e '.version' charts/agimus/Chart.yaml | tr -d 'v')
2.9.3