parent
2cfa8b2d93
commit
7049b6f788
@ -161,8 +161,8 @@ stages:
|
|||||||
git branch -u remote/$BRANCH_NAME
|
git branch -u remote/$BRANCH_NAME
|
||||||
|
|
||||||
echo $GIT_PASSWORD | gh auth login --with-token
|
echo $GIT_PASSWORD | gh auth login --with-token
|
||||||
TITLE="Upgrade SONiC Versions"
|
TITLE="[${SOURCE_BRANCH#refs/heads/}] Upgrade SONiC package Versions"
|
||||||
BODY="Upgrade SONiC Versions"
|
BODY=$TITLE
|
||||||
RET=0
|
RET=0
|
||||||
if ! gh pr create -t "$TITLE" -b "$BODY" -B $(Build.SourceBranch) -R $(Build.Repository.Name) > pr.log 2>&1; then
|
if ! gh pr create -t "$TITLE" -b "$BODY" -B $(Build.SourceBranch) -R $(Build.Repository.Name) > pr.log 2>&1; then
|
||||||
if ! grep -q "already exists" pr.log; then
|
if ! grep -q "already exists" pr.log; then
|
||||||
|
Reference in New Issue
Block a user