fix: use correct binary name (#2561)

This commit is contained in:
Baptiste Augrain
2025-10-18 15:19:00 +02:00
committed by GitHub
parent 646b42473b
commit 51ad421762
3 changed files with 109 additions and 91 deletions

View File

@@ -6,6 +6,7 @@ ASSETS_REPOSITORY="${ASSETS_REPOSITORY:-VSCodium/vscodium}"
BINARY_NAME="${BINARY_NAME:-codium}"
GH_REPO_PATH="${GH_REPO_PATH:-VSCodium/vscodium}"
ORG_NAME="${ORG_NAME:-VSCodium}"
TUNNEL_APP_NAME="$( node -p "require(\"./product.json\").tunnelApplicationName" )"
# All common functions can be added to this file
@@ -24,6 +25,7 @@ apply_patch() {
replace "s|!!GH_REPO_PATH!!|${GH_REPO_PATH}|g" "$1"
replace "s|!!ORG_NAME!!|${ORG_NAME}|g" "$1"
replace "s|!!RELEASE_VERSION!!|${RELEASE_VERSION}|g" "$1"
replace "s|!!TUNNEL_APP_NAME!!|${TUNNEL_APP_NAME}|g" "$1"
if ! git apply --ignore-whitespace "$1"; then
echo failed to apply patch "$1" >&2