diff --git a/.github/workflows/build-portable-release-cuda.yml b/.github/workflows/build-portable-release-cuda.yml index b3cc587a..73be7f0c 100644 --- a/.github/workflows/build-portable-release-cuda.yml +++ b/.github/workflows/build-portable-release-cuda.yml @@ -160,7 +160,8 @@ jobs: # 6. Create ZIP file cd .. - ZIP_NAME="textgen-portable-${VERSION}-${PLATFORM}-cuda${CUDA_VERSION}.zip" + VERSION_CLEAN="${VERSION#v}" + ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}.zip" echo "Creating archive: $ZIP_NAME" if [[ "$RUNNER_OS" == "Windows" ]]; then diff --git a/.github/workflows/build-portable-release.yml b/.github/workflows/build-portable-release.yml index bb61eb8f..0ea91286 100644 --- a/.github/workflows/build-portable-release.yml +++ b/.github/workflows/build-portable-release.yml @@ -170,7 +170,8 @@ jobs: # 5. Create ZIP file cd .. - ZIP_NAME="textgen-portable-${VERSION}-${PLATFORM}.zip" + VERSION_CLEAN="${VERSION#v}" + ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}.zip" echo "Creating archive: $ZIP_NAME" if [[ "$RUNNER_OS" == "Windows" ]]; then