mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 11:50:14 +10:00
fix: remove -insider suffix and remove some debug [skip ci]
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"tag": "1.71.0",
|
"tag": "1.71.0",
|
||||||
"commit": "7ed02a69658fc07f08740b98fa0d8d96c1a61ed4"
|
"commit": "16faaf4eb07424d5d7dba7d12bffd64309c283f7"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
|
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Will not update version JSON because we did not build"
|
echo "Will not update version JSON because we did not build"
|
||||||
@@ -12,9 +12,7 @@ if [[ -z "${GITHUB_TOKEN}" ]]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$( cat "insider.json" | jq --arg 'tag' "${MS_TAG}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' )" > "insider.json"
|
echo "$( cat "insider.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' )" > "insider.json"
|
||||||
|
|
||||||
git status
|
|
||||||
|
|
||||||
git config --global user.email "vscodium-ci@not-real.com"
|
git config --global user.email "vscodium-ci@not-real.com"
|
||||||
git config --global user.name "VSCodium CI"
|
git config --global user.name "VSCodium CI"
|
||||||
@@ -25,8 +23,6 @@ CHANGES=$( git status --porcelain )
|
|||||||
if [[ ! -z "${CHANGES}" ]]; then
|
if [[ ! -z "${CHANGES}" ]]; then
|
||||||
git commit -m "build(insider): update to commit ${MS_COMMIT:0:7}"
|
git commit -m "build(insider): update to commit ${MS_COMMIT:0:7}"
|
||||||
|
|
||||||
git status
|
|
||||||
|
|
||||||
if ! git push origin insider --quiet; then
|
if ! git push origin insider --quiet; then
|
||||||
git pull origin insider
|
git pull origin insider
|
||||||
git push origin insider --quiet
|
git push origin insider --quiet
|
||||||
|
|||||||
Reference in New Issue
Block a user