blob: aa38ab6b1cb6bc4ef4822c08ffe95f23e2ffea9d [file] [log] [blame]
Vincent Driessen61ade552010-01-21 01:28:08 +01001#!/bin/sh
2
3usage() {
4 echo "usage: gitflow start hotfix <release>"
5 echo " gitflow finish hotfix <release>"
6}
7
8start() {
9 # TODO
10 gitflow_check_clean_working_tree
11 echo "git checkout -b hotfix-$RELEASE master"
12 echo "Bump version number"
13 echo "Fix bug"
14}
15
16finish() {
17 # TODO
18 gitflow_check_clean_working_tree
19 echo "git checkout master"
20 echo "git merge --no-ff hotfix-$RELEASE"
21 echo "git checkout develop"
22 echo "git merge --no-ff hotfix-$RELEASE"
23 echo "git branch -d hotfix-$RELEASE"
24}
25