mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
New attempt
This commit is contained in:
parent
43fc170224
commit
fe0685a742
|
|
@ -163,7 +163,12 @@ jobs:
|
|||
# 6. Move up and rename folder to include version
|
||||
cd ..
|
||||
VERSION_CLEAN="${VERSION#v}"
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
sleep 3
|
||||
powershell -Command "Move-Item -Path text-generation-webui -Destination text-generation-webui-${VERSION_CLEAN} -Force"
|
||||
else
|
||||
mv text-generation-webui text-generation-webui-${VERSION_CLEAN}
|
||||
fi
|
||||
|
||||
# 7. Create ZIP file
|
||||
ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-cuda${CUDA_VERSION}.zip"
|
||||
|
|
|
|||
|
|
@ -149,7 +149,12 @@ jobs:
|
|||
# 5. Move up and rename folder to include version
|
||||
cd ..
|
||||
VERSION_CLEAN="${VERSION#v}"
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
sleep 3
|
||||
powershell -Command "Move-Item -Path text-generation-webui -Destination text-generation-webui-${VERSION_CLEAN} -Force"
|
||||
else
|
||||
mv text-generation-webui text-generation-webui-${VERSION_CLEAN}
|
||||
fi
|
||||
|
||||
# 6. Create ZIP file
|
||||
ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}-vulkan.zip"
|
||||
|
|
|
|||
5
.github/workflows/build-portable-release.yml
vendored
5
.github/workflows/build-portable-release.yml
vendored
|
|
@ -173,7 +173,12 @@ jobs:
|
|||
# 5. Move up and rename folder to include version
|
||||
cd ..
|
||||
VERSION_CLEAN="${VERSION#v}"
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
sleep 3 # Give time for any lingering file handles to close
|
||||
powershell -Command "Move-Item -Path text-generation-webui -Destination text-generation-webui-${VERSION_CLEAN} -Force"
|
||||
else
|
||||
mv text-generation-webui text-generation-webui-${VERSION_CLEAN}
|
||||
fi
|
||||
|
||||
# 6. Create ZIP file
|
||||
ZIP_NAME="textgen-portable-${VERSION_CLEAN}-${PLATFORM}.zip"
|
||||
|
|
|
|||
Loading…
Reference in a new issue