You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sonarr/distribution/debian.sh

25 lines
661 B

fromdos ./debian/*
echo Version: "$dependent_build_number" Branch: "$dependent_build_branch"
rm -r ./sonarr_bin/Sonarr.Update
rm ./sonarr_bin/System.Runtime.InteropServices.RuntimeInformation.dll
chmod -R ugo-x,ugo+rwX,go-w ./sonarr_bin/*
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