fix: update commit msg and branch name [skip ci]

This commit is contained in:
Baptiste Augrain 2023-12-14 21:11:53 +01:00
parent e159da782a
commit 56e99f2989

View file

@ -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