ignore some more files
This commit is contained in:
parent
f9a38c973e
commit
1a9ec50d19
@ -36,7 +36,7 @@ for target in "${targets[@]}"; do
|
|||||||
|
|
||||||
cp ./target/${target}/release/ffpapi.exe .
|
cp ./target/${target}/release/ffpapi.exe .
|
||||||
cp ./target/${target}/release/ffplayout.exe .
|
cp ./target/${target}/release/ffplayout.exe .
|
||||||
zip -r "ffplayout-v${version}_${target}.zip" assets docker docs LICENSE README.md CHANGELOG.md ffplayout.exe ffpapi.exe -x *.db
|
zip -r "ffplayout-v${version}_${target}.zip" assets docker docs LICENSE README.md CHANGELOG.md ffplayout.exe ffpapi.exe -x *.db -x *.db-shm -x *.db-wal -x '11-ffplayout' -x *.service
|
||||||
rm -f ffplayout.exe ffpapi.exe
|
rm -f ffplayout.exe ffpapi.exe
|
||||||
elif [[ $target == "x86_64-apple-darwin" ]] || [[ $target == "aarch64-apple-darwin" ]]; then
|
elif [[ $target == "x86_64-apple-darwin" ]] || [[ $target == "aarch64-apple-darwin" ]]; then
|
||||||
if [[ -f "ffplayout-v${version}_${target}.tar.gz" ]]; then
|
if [[ -f "ffplayout-v${version}_${target}.tar.gz" ]]; then
|
||||||
@ -54,7 +54,7 @@ for target in "${targets[@]}"; do
|
|||||||
|
|
||||||
cp ./target/${target}/release/ffpapi .
|
cp ./target/${target}/release/ffpapi .
|
||||||
cp ./target/${target}/release/ffplayout .
|
cp ./target/${target}/release/ffplayout .
|
||||||
tar -czvf "ffplayout-v${version}_${target}.tar.gz" --exclude='*.db' --exclude='*.db-shm' --exclude='*.db-wal' assets docker docs LICENSE README.md CHANGELOG.md ffplayout ffpapi
|
tar -czvf "ffplayout-v${version}_${target}.tar.gz" --exclude='*.db' --exclude='*.db-shm' --exclude='*.db-wal' --exclude='11-ffplayout' --exclude='*.service' assets docker docs LICENSE README.md CHANGELOG.md ffplayout ffpapi
|
||||||
rm -f ffplayout ffpapi
|
rm -f ffplayout ffpapi
|
||||||
else
|
else
|
||||||
if [[ -f "ffplayout-v${version}_${target}.tar.gz" ]]; then
|
if [[ -f "ffplayout-v${version}_${target}.tar.gz" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user