Skip to content

Commit

Permalink
ci: remove token check [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Jan 6, 2025
1 parent e82135f commit 0974418
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions update_upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ if [[ "${SHOULD_BUILD}" != "yes" ]]; then
exit 0
fi

if [[ -z "${GH_TOKEN}" ]] && [[ -z "${GITHUB_TOKEN}" ]] && [[ -z "${GH_ENTERPRISE_TOKEN}" ]] && [[ -z "${GITHUB_ENTERPRISE_TOKEN}" ]]; then
echo "Will not update ${VSCODE_QUALITY}.json because no GITHUB_TOKEN defined"
exit 0
fi

jsonTmp=$( cat "./upstream/${VSCODE_QUALITY}.json" | jq --arg 'tag' "${MS_TAG/\-insider/}" --arg 'commit' "${MS_COMMIT}" '. | .tag=$tag | .commit=$commit' )
echo "${jsonTmp}" > "./upstream/${VSCODE_QUALITY}.json" && unset jsonTmp

Expand Down

0 comments on commit 0974418

Please sign in to comment.