-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release: Automate version updates on all branches (#499)
Adds the `versionbump` binary and github action workflows: Updates `branch-out` to bump the patch version and commit it to the relevant branch. `bump-main-version` checks out the `master` branch and updates the minor version. Since Major version updates are rare enough where they can be done manually (still leveraging `make major`). Signed-off-by: Marc Lopez Rubio <marc5.12@outlook.com>
- Loading branch information
Showing
4 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### Manage repository versions | ||
|
||
## Bump the major version for ecctl. | ||
major: $(GOBIN)/versionbump | ||
@ $(GOBIN)/versionbump -c major Makefile | ||
|
||
## Bump the minor o feature version for ecctl. | ||
minor: $(GOBIN)/versionbump | ||
@ $(GOBIN)/versionbump -c minor Makefile | ||
|
||
## Bump the patch o bugfix version for ecctl. | ||
patch: $(GOBIN)/versionbump | ||
@ $(GOBIN)/versionbump -c patch Makefile |