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

Adding makefile version-bump #179

Merged
merged 1 commit into from
May 29, 2024
Merged

Adding makefile version-bump #179

merged 1 commit into from
May 29, 2024

Conversation

sameh-farouk
Copy link
Member

@sameh-farouk sameh-farouk commented May 29, 2024

  • Adding a makefile command to automatically:
    • Switch to and pull the default branch
    • Create a new branch from the default branch
    • Bump the version in defined files based on the environment variable type=(patch|minor|major)
    • Stage these files and commit

You only need to push to the remote after running this command.

example usage:

type=patch make version-bump

Output

Already on 'master'
Already up to date.
Switched to a new branch 'master-bump-version-to-2.12.1'
[master-bump-version-to-2.12.1 959fcb2] Bump version to 2.12.1
 3 files changed, 3 insertions(+), 3 deletions(-)

@xmonader xmonader merged commit 055136b into master May 29, 2024
1 check passed
@xmonader xmonader deleted the master-add-makefile branch May 29, 2024 11:30
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