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 2, 2024
1 parent 336436c commit 318794b
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 318794b

Please sign in to comment.