Skip to content

Commit

Permalink
chore(github-action): create release-<x> branches (fixup)
Browse files Browse the repository at this point in the history
fix git syntax
  • Loading branch information
o-orand committed Jan 3, 2024
1 parent 63c5dc5 commit f143aba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create-release-branches.bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ for ref in $(listK3sRepoBranches) ; do
if [ "$FORCE_PUSH" = "true" ] ;then
git branch -d "$BRANCH_NAME"
fi
git co -b "$BRANCH_NAME"
git checkout -b "$BRANCH_NAME"
sed -i.orig "s/tag: v.*/tag: v${v}.0/g" vendir.yml
diff vendir.yml vendir.yml.orig
rm vendir.yml.orig
git add vendir.yml
git commit -m "Initial branch creation for k8s version $v"
git push --set-upstream origin "$BRANCH_NAME" $PUSH_OPTIONS
git co master
git checkout master
done

git branch

0 comments on commit f143aba

Please sign in to comment.