1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-22 15:56:58 +00:00
Sonarr/distribution/debian.sh
2018-12-29 13:08:48 +01:00

22 lines
548 B
Bash

fromdos ./debian/*
echo Version: "$dependent_build_number" Branch: "$dependent_build_branch"
rm -r ./sonarr_bin/Sonarr.Update
echo Updating changelog
sed -i "s/{version}/$dependent_build_number/g" debian/changelog
sed -i "s/{branch}/$dependent_build_branch/g" debian/changelog
echo Running debuild
debuild -b
echo Moving stuff around
mv ../sonarr_*.deb ./
mv ../sonarr_*.changes ./
rm ../sonarr_*.build
echo Signing Package
dpkg-sig -k 884589CE --sign builder "sonarr_${dependent_build_number}_all.deb"
echo running alien
alien -r -v ./*.deb