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

feat: Adding auto bumping #116

Merged
merged 1 commit into from
Feb 29, 2024
Merged

feat: Adding auto bumping #116

merged 1 commit into from
Feb 29, 2024

Conversation

phoinixgrr
Copy link
Contributor

Summary

Adding release instructions, and relevant Makefile targets

Usage:
make help                           to get help
make build                          to build
make release                        to build and release artifacts
make package                        to build, package
make sign                           to sign the artifact and perform verification
make lint                           to lint
make test                           to test
make patch                          to bump patch version (semver)
make minor                          to bump minor version (semver)
make major                          to bump major version (semver)
make package-software               to package the binary
make docker-build                   to build the docker image
make docker-push                    to push the docker image
make docker-sign                    to sign the docker image
make docker-verify                  to verify the docker image
make docker-sbom                    to print a sbom report
make docker-scan                    to print a vulnerability report
make docker-lint                    to lint the Dockerfile
make docker-login                   to login to a container registry
make go-build                       to build binaries
make go-run                         to run locally for development
make go-test                        to run tests
make go-mod-check                   to check go mod files consistency
make go-lint                        to lint go code
make go-doc                         to generate documentation
make github-release                 to publish a release and relevant artifacts to GitHub
make clean                          to clean-up
> make patch                                                                                                                      
[ .. ] Bumping mattermost-push-proxy to Patch version 6.0.1
git tag -a 6.0.1 -m "Bumping mattermost-push-proxy to Patch version 6.0.1"
[ OK ] Bumping mattermost-push-proxy to Patch version 6.0.1
> make patch     
12:37:30 [ .. ] Bumping mattermost-push-proxy to Patch version 6.0.2
git tag -a 6.0.2 -m "Bumping mattermost-push-proxy to Patch version 6.0.2"
12:37:30 [ OK ] Bumping mattermost-push-proxy to Patch version 6.0.2

> make minor                                                                                                                         
[ .. ] Bumping mattermost-push-proxy to Minor version 6.1.0
git tag -a 6.1.0 -m "Bumping mattermost-push-proxy to Minor version 6.1.0"
[ OK ] Bumping mattermost-push-proxy to Minor version 6.1.0

> make major                                                                                                                   
[ .. ] Bumping mattermost-push-proxy to Major version 7.0.0
git tag -a 7.0.0 -m "Bumping mattermost-push-proxy to Major version 7.0.0"
[ OK ] Bumping mattermost-push-proxy to Major version 7.0.0

Ticket Link

Makefile Outdated Show resolved Hide resolved
Signed-off-by: Akis Maziotis <[email protected]>
@phoinixgrr phoinixgrr merged commit d7e0f35 into master Feb 29, 2024
2 checks passed
@phoinixgrr phoinixgrr deleted the feat-auto-bumping-semver branch February 29, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants