Skip to content

Commit

Permalink
create-release-branches.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
gberche-orange committed Jan 3, 2024
1 parent e648162 commit 7fe40e5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions create-release-branches.bash
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7fe40e5

Please sign in to comment.