Skip to content

Commit

Permalink
create-release-branches.bash (fixup)
Browse files Browse the repository at this point in the history
  • Loading branch information
gberche-orange committed Jan 3, 2024
1 parent fcdfab7 commit d0b6890
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions create-release-branches.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ 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
git co -b $BRANCH_NAME ||
git co $BRANCH_NAME
sed -i.orig "s/tag: v.*/tag: v${v}.0/g" vendir.yml
! diff vendir.yml vendir.yml.orig
git add vendir.yml
git commit -m "set up release for version $v"
Expand Down

0 comments on commit d0b6890

Please sign in to comment.