Release, changelog and merge request generator for GitLab and GitHub. Usefull magic in one string :)
Branch: stable
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CHANGELOG.md Release v1.1.3 Oct 9, 2017
README.md Added support for GitHub, updated README link to stable release Oct 9, 2017
_config.yml Set theme jekyll-theme-minimal Sep 27, 2017
bin Release v1.1.3 Oct 9, 2017

README.md

bump.sh

#!/bin/bash
#    _                                _
#   | |                              | |
#   | |__  _   _ _ __ ___  _ __   ___| |__
#   | '_ \| | | | '_ ` _ \| '_ \ / __| '_ \
#   | |_) | |_| | | | | | | |_) |\__ \ | | |
#   |_.__/ \__,_|_| |_| |_| .__(_)___/_| |_|
#                         | |
#                         |_|
#                               by @rakshazi
  • Collects changes from commit summaries between branches
  • Generates file CHANGELOG.md with list of all changes
  • Commits that file with commit summary Release v<NEW_VERSION>
  • Creates new tag with release version and changes list as message
  • Pushes commit with new tag and updated changelog
  • Opens Gitlab Merge Request or GitHub Pull Request (url generated from origin url) with predefined title and branches in browser

PLEASE, use http://semver.org/

Integration with git

sudo curl -o /usr/local/bin/git-bump -s https://raw.githubusercontent.com/titanium-codes/bump.sh/stable/bin && sudo chmod +x /usr/local/bin/git-bump
git config --global alias.bump "git-bump"

Usage

# Inside your repo
git bump <BRANCH_FROM> <BRANCH_TO>

BRANCH_FROM default: current branch

BRANCH_TO default: master

Just use:

git bump

And enjoy magic :)