Last active
August 29, 2015 14:10
-
-
Save vmariano/af0910ad2b4fcc28c03b to your computer and use it in GitHub Desktop.
Release flow.
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
#!/bin/bash | |
#based on https://github.com/DemocracyOS/app/wiki/How-to-release-a-new-version-of-DemocracyOS | |
# $1 is the new number version ej: 0.0.2 | |
function release-prepare() { | |
git checkout -b $1 | |
git-changelog --tag $1 | |
git add History.md | |
vim History.md | |
echo 'Now, you can move the version of config files' | |
} | |
function release-new-version() { | |
git-release $1 | |
git checkout master | |
git merge --ff $1 | |
git checkout development | |
git merge --no-ff $1 | |
echo 'Now you can push master and development' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment