ci: switch shebang to /bin/bash as package-win.sh uses pushd/popd (#2937)

* ci: switch shebang to /bin/bash as package-win.sh uses pushd/popd

* update
This commit is contained in:
Meng Zhang 2024-08-21 15:08:15 -07:00 committed by GitHub
parent 6558b2567a
commit df607a1891
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Input variables
LLAMA_CPP_VERSION=${LLAMA_CPP_VERSION:-b3571}
@ -13,7 +13,7 @@ unzip ${ZIP_FILE} -d ${OUTPUT_NAME}
pushd ${OUTPUT_NAME}
rm $(ls *.exe | grep -v "llama-server")
cp ../tabby_x86_64-windows-msvc.exe tabby.exe
cp ../tabby_x86_64-windows-msvc.exe/tabby_x86_64-windows-msvc.exe tabby.exe
popd
zip -r ${OUTPUT_NAME}.zip ${OUTPUT_NAME}