From f8db23b36286b09155e08beaa07a5797c879c7ef Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sun, 5 Apr 2026 17:12:28 -0700 Subject: [PATCH] Call ik portable build folders text-generation-webui-ik-version --- .github/workflows/build-portable-release-ik-cuda.yml | 12 ++++++------ .github/workflows/build-portable-release-ik.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-portable-release-ik-cuda.yml b/.github/workflows/build-portable-release-ik-cuda.yml index 331a7653..a336a1cb 100644 --- a/.github/workflows/build-portable-release-ik-cuda.yml +++ b/.github/workflows/build-portable-release-ik-cuda.yml @@ -102,8 +102,8 @@ jobs: VERSION_CLEAN="${{ inputs.version }}" VERSION_CLEAN="${VERSION_CLEAN#v}" cd .. - cp -r text-generation-webui "text-generation-webui-${VERSION_CLEAN}" - cd "text-generation-webui-${VERSION_CLEAN}" + cp -r text-generation-webui "text-generation-webui-ik-${VERSION_CLEAN}" + cd "text-generation-webui-ik-${VERSION_CLEAN}" # Remove extensions that need additional requirements allowed=("character_bias" "gallery" "sd_api_pictures") @@ -133,10 +133,10 @@ jobs: echo "Downloading Python for $PLATFORM..." curl -L -o python-build.tar.gz "$PYTHON_URL" tar -xzf python-build.tar.gz - mv python "text-generation-webui-${VERSION_CLEAN}/portable_env" + mv python "text-generation-webui-ik-${VERSION_CLEAN}/portable_env" # 3. Prepare requirements file based on CUDA version - cd "text-generation-webui-${VERSION_CLEAN}" + cd "text-generation-webui-ik-${VERSION_CLEAN}" if [[ "$CUDA_VERSION" == "13.1" ]]; then REQ_FILE="requirements/portable/requirements_ik_cuda131.txt" else @@ -158,11 +158,11 @@ jobs: if [[ "$RUNNER_OS" == "Windows" ]]; then ARCHIVE_NAME="textgen-portable-ik-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}.zip" echo "Creating archive: $ARCHIVE_NAME" - powershell -Command "Compress-Archive -Path text-generation-webui-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME" + powershell -Command "Compress-Archive -Path text-generation-webui-ik-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME" else ARCHIVE_NAME="textgen-portable-ik-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}.tar.gz" echo "Creating archive: $ARCHIVE_NAME" - tar czf "$ARCHIVE_NAME" "text-generation-webui-${VERSION_CLEAN}" + tar czf "$ARCHIVE_NAME" "text-generation-webui-ik-${VERSION_CLEAN}" fi - name: Upload files to a GitHub release diff --git a/.github/workflows/build-portable-release-ik.yml b/.github/workflows/build-portable-release-ik.yml index bf54eb0e..5eaf7c86 100644 --- a/.github/workflows/build-portable-release-ik.yml +++ b/.github/workflows/build-portable-release-ik.yml @@ -101,8 +101,8 @@ jobs: VERSION_CLEAN="${{ inputs.version }}" VERSION_CLEAN="${VERSION_CLEAN#v}" cd .. - cp -r text-generation-webui "text-generation-webui-${VERSION_CLEAN}" - cd "text-generation-webui-${VERSION_CLEAN}" + cp -r text-generation-webui "text-generation-webui-ik-${VERSION_CLEAN}" + cd "text-generation-webui-ik-${VERSION_CLEAN}" # Remove extensions that need additional requirements allowed=("character_bias" "gallery" "sd_api_pictures") @@ -131,10 +131,10 @@ jobs: cd .. curl -L -o python-build.tar.gz "$PYTHON_URL" tar -xzf python-build.tar.gz - mv python "text-generation-webui-${VERSION_CLEAN}/portable_env" + mv python "text-generation-webui-ik-${VERSION_CLEAN}/portable_env" # 3. Prepare requirements file - cd "text-generation-webui-${VERSION_CLEAN}" + cd "text-generation-webui-ik-${VERSION_CLEAN}" REQ_FILE="requirements/portable/requirements_ik_cpu_only.txt" echo "Using requirements file: $REQ_FILE" @@ -153,11 +153,11 @@ jobs: if [[ "$RUNNER_OS" == "Windows" ]]; then ARCHIVE_NAME="textgen-portable-ik-${VERSION_CLEAN}-${PLATFORM}.zip" echo "Creating archive: $ARCHIVE_NAME" - powershell -Command "Compress-Archive -Path text-generation-webui-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME" + powershell -Command "Compress-Archive -Path text-generation-webui-ik-${VERSION_CLEAN} -DestinationPath $ARCHIVE_NAME" else ARCHIVE_NAME="textgen-portable-ik-${VERSION_CLEAN}-${PLATFORM}.tar.gz" echo "Creating archive: $ARCHIVE_NAME" - tar czf "$ARCHIVE_NAME" "text-generation-webui-${VERSION_CLEAN}" + tar czf "$ARCHIVE_NAME" "text-generation-webui-ik-${VERSION_CLEAN}" fi - name: Upload files to a GitHub release