rename repo

This commit is contained in:
jb-alvarado 2022-04-14 17:18:32 +02:00
parent 59e5b9fee7
commit 894a1d386b
3 changed files with 9 additions and 9 deletions

2
Cargo.lock generated
View File

@ -166,7 +166,7 @@ dependencies = [
]
[[package]]
name = "ffplayout-rs"
name = "ffplayout-engine"
version = "0.9.3"
dependencies = [
"chrono",

View File

@ -1,5 +1,5 @@
[package]
name = "ffplayout-rs"
name = "ffplayout-engine"
description = "24/7 playout based on rust and ffmpeg"
license = "GPL-3.0"
authors = ["Jonathan Baecker jonbae77@gmail.com"]

View File

@ -10,7 +10,7 @@ while read -r name value; do
fi
done < Cargo.toml
echo "Compile ffplayout-rs version is: \"$version\""
echo "Compile ffplayout-engine version is: \"$version\""
echo ""
for target in "${targets[@]}"; do
@ -20,20 +20,20 @@ for target in "${targets[@]}"; do
cargo build --release --target=$target
if [[ $target == "x86_64-pc-windows-gnu" ]]; then
if [[ -f "ffplayout-rs-v${version}_${target}.zip" ]]; then
rm -f "ffplayout-rs-v${version}_${target}.zip"
if [[ -f "ffplayout-engine-v${version}_${target}.zip" ]]; then
rm -f "ffplayout-engine-v${version}_${target}.zip"
fi
cp ./target/${target}/release/ffplayout.exe .
zip -r "ffplayout-rs-v${version}_${target}.zip" assets docs LICENSE README.md ffplayout.exe
zip -r "ffplayout-engine-v${version}_${target}.zip" assets docs LICENSE README.md ffplayout.exe
rm -f ffplayout.exe
else
if [[ -f "ffplayout-rs-v${version}_${target}.tar.gz" ]]; then
rm -f "ffplayout-rs-v${version}_${target}.tar.gz"
if [[ -f "ffplayout-engine-v${version}_${target}.tar.gz" ]]; then
rm -f "ffplayout-engine-v${version}_${target}.tar.gz"
fi
cp ./target/${target}/release/ffplayout .
tar -czvf "ffplayout-rs-v${version}_${target}.tar.gz" assets docs LICENSE README.md ffplayout
tar -czvf "ffplayout-engine-v${version}_${target}.tar.gz" assets docs LICENSE README.md ffplayout
rm -f ffplayout
fi