diff --git a/create-release-branches.bash b/create-release-branches.bash new file mode 100644 index 00000000..5d1d2a06 --- /dev/null +++ b/create-release-branches.bash @@ -0,0 +1,14 @@ +#!/bin/bash +set -x +set -e # exit on non-zero status + +for v in 1.25 1.26 1.27 1.28 1.29 1.30 1.31 ; do + BRANCH_NAME="release-${v}" + git co -b $BRANCH_NAME; + sed -i.orig "s/tag: v.*/tag: v$v/g" vendir.yml + diff vendir.yml vendir.yml.orig + git add vendir.yml + git commit -m "set up release for version $v" + git push --set-upstream origin $BRANCH_NAME + git co master +done