Skip to content

Commit

Permalink
Use view3dscene from another branch
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Jun 22, 2023
1 parent a7b3be8 commit 74f18e2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tools/internal/pack_release/pack_release.sh
Expand Up @@ -177,12 +177,18 @@ add_external_tool ()
local OUTPUT_BIN="$3"
shift 2

TOOL_BRANCH_NAME='master'
# TODO: use view3dscene from another branch, to compile with this CGE branch
if [ "${GITHUB_NAME}" = 'view3dscene' ]; then
TOOL_BRANCH_NAME='shapes-rendering-2'
fi

local TEMP_PATH_TOOL="/tmp/castle-engine-release-$$/${GITHUB_NAME}/"
mkdir -p "${TEMP_PATH_TOOL}"
cd "${TEMP_PATH_TOOL}"
download https://codeload.github.com/castle-engine/"${GITHUB_NAME}"/zip/master "${GITHUB_NAME}".zip
download "https://codeload.github.com/castle-engine/${GITHUB_NAME}/zip/${TOOL_BRANCH_NAME}" "${GITHUB_NAME}".zip
unzip "${GITHUB_NAME}".zip
cd "${GITHUB_NAME}"-master
cd "${GITHUB_NAME}-${TOOL_BRANCH_NAME}"

# special exceptional addition for pascal-language-server, that has jsonstream as a submodule
if [ "${GITHUB_NAME}" = 'pascal-language-server' ]; then
Expand Down

0 comments on commit 74f18e2

Please sign in to comment.