mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-29 23:12:39 +01:00
23 lines
548 B
Bash
23 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
|