vaticle / dependencies

Bazel dependency declarations for build tools reused across @vaticle repositories (only for @vaticle)
Mozilla Public License 2.0
12 stars 23 forks source link

Add support for multiple names of version file in version bump tool #520

Closed jamesreprise closed 3 months ago

jamesreprise commented 3 months ago

What is the goal of this PR?

Our version bump tool now supports two types of file - text and package.json. This tool will bump the relevant version of the file and write it to disk.

What are the changes implemented in this PR?

We've added support for text and package.json. We've removed the git commit and push functionality.

Notes

Since no one is using this tool, we have not reintroduced the commit and push functionality elsewhere, but doing so should be trivial. We found that having the incrementing, writing, committing and pushing happening within a single tool was too much complexity in a single tool and ended up hampering flexibility of use. We found we wanted to bump multiple files using this single tool but not produce multiple commits (and multiple pushes).

vaticle-bot commented 3 months ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture