Skip to content

Commit 4e97704

Browse files
committed
logic to create release branch in upstream: -s
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
1 parent d9cbefc commit 4e97704

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ commitChanges() {
117117
# with the name release-vX
118118
## This func will be used when we have a new major release and there is no branch in the upstream repo
119119
createNewReleaseBranch(){
120-
git checkout -b "${RELEASE_BRANCH}" "${RELEASE_UPSTREAM_NAME}"/main
120+
git checkout -b "${RELEASE_BRANCH}" main
121121
git push "${RELEASE_UPSTREAM_NAME}" "${RELEASE_BRANCH}"
122122
#hub sync -- this supposedly will create that branch in upstream
123123
}
@@ -127,7 +127,7 @@ verifyReleaseBranch() {
127127
echo "Branch $RELEASE_BRANCH exists in the upstream repository."
128128
else
129129
echo "Branch $RELEASE_BRANCH does not exist in the upstream repository."
130-
#createNewReleaseBranch
130+
createNewReleaseBranch
131131

132132
fi
133133
}

0 commit comments

Comments
 (0)