mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-18 14:31:36 +03:00
ci(spearhead): push to correct branch [skip ci]
This commit is contained in:
parent
8737578ae5
commit
e7e2de16ce
@ -14,6 +14,7 @@ fi
|
||||
|
||||
echo "$( cat "insider.json" | jq --arg 'tag' "${MS_TAG}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' )" > "insider.json"
|
||||
|
||||
git config user.email "vscodium-ci@not-real.com"
|
||||
git config user.name "VSCodium CI"
|
||||
git add .
|
||||
|
||||
@ -21,8 +22,8 @@ CHANGES=$( git status --porcelain )
|
||||
|
||||
if [[ ! -z "${CHANGES}" ]]; then
|
||||
git commit -m "build(insider): update to commit ${MS_COMMIT:0:7}"
|
||||
if ! git push origin master --quiet; then
|
||||
git pull origin master
|
||||
git push origin master --quiet
|
||||
if ! git push origin insider --quiet; then
|
||||
git pull origin insider
|
||||
git push origin insider --quiet
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user