Skip to content

Commit

Permalink
[Ci] Change the package upgrade PR title (sonic-net#16674)
Browse files Browse the repository at this point in the history
* [Ci] Change the package upgrade PR title

* Change the branchname variable, and change the body
  • Loading branch information
xumia authored and mssonicbld committed Sep 27, 2023
1 parent 2cfa8b2 commit b33783c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure-pipelines/azure-pipelines-UpgrateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ stages:
git branch -u remote/$BRANCH_NAME
echo $GIT_PASSWORD | gh auth login --with-token
TITLE="Upgrade SONiC Versions"
BODY="Upgrade SONiC Versions"
TITLE="[${SOURCE_BRANCH#refs/heads/}] Upgrade SONiC package Versions"
BODY=$TITLE
RET=0
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
Expand Down

0 comments on commit b33783c

Please sign in to comment.