Skip to content

Commit

Permalink
fix: update commit msg and branch name [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Dec 14, 2023
1 parent e159da7 commit 56e99f2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions update_qualityjson.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ git add .
CHANGES=$( git status --porcelain )

if [[ -n "${CHANGES}" ]]; then
git commit -m "build(insider): update to commit ${MS_COMMIT:0:7}"
git commit -m "build(${VSCODE_QUALITY}): update to commit ${MS_COMMIT:0:7}"

if ! git push origin insider --quiet; then
git pull origin insider
git push origin insider --quiet
BRANCH_NAME=$( git rev-parse --abbrev-ref HEAD )

if ! git push origin "${BRANCH_NAME}" --quiet; then
git pull origin "${BRANCH_NAME}"
git push origin "${BRANCH_NAME}" --quiet
fi
fi

0 comments on commit 56e99f2

Please sign in to comment.