Merge pull request #271 from jb-alvarado/nuxt3-frontend
get version from workspace file
This commit is contained in:
commit
4c64c51416
@ -26,7 +26,7 @@ while read -r name value; do
|
||||
if [[ $name == "version" ]]; then
|
||||
version=${value//\"/}
|
||||
fi
|
||||
done < ffplayout-engine/Cargo.toml
|
||||
done < Cargo.toml
|
||||
|
||||
echo "Compile ffplayout \"$version\""
|
||||
echo ""
|
||||
@ -82,8 +82,7 @@ done
|
||||
|
||||
if [[ "${#targets[@]}" == "5" ]] || [[ $targets == "x86_64-unknown-linux-musl" ]]; then
|
||||
cargo deb --target=x86_64-unknown-linux-musl -p ffplayout --manifest-path=ffplayout-engine/Cargo.toml -o ffplayout_${version}_amd64.deb
|
||||
cd ffplayout-engine
|
||||
cargo generate-rpm --target=x86_64-unknown-linux-musl -o ../ffplayout-${version}-1.x86_64.rpm
|
||||
cargo generate-rpm --target=x86_64-unknown-linux-musl -p ffplayout-engine -o ffplayout-${version}-1.x86_64.rpm
|
||||
|
||||
cd ..
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user