Skip to content

Commit

Permalink
[Ci] Change the package upgrade PR title (#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 haris-khan1596 committed Jun 5, 2024
1 parent 1f9a403 commit c55f3b8
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 c55f3b8

Please sign in to comment.