create-release-deb.sh 383 B

1234567891011121314151617181920212223
  1. #!/bin/sh -ei
  2. if [ -z $1 ]; then
  3. echo usage: $0 VERSION
  4. exit 1
  5. fi
  6. git clone . dpkg-tmp/tt-rss
  7. cd dpkg-tmp/tt-rss
  8. git checkout $1
  9. debuild -i -us -uc
  10. #debuild -i -us -uc -b -aamd64
  11. cd ..
  12. if [ ! -z "$DEPLOY_DEBS" ]; then
  13. reprepro -b /var/www/apt include unstable tt-rss*_i386.changes
  14. #reprepro -b /var/www/apt include unstable tt-rss*_amd64.changes
  15. fi
  16. #cd ..
  17. #rm -rf dpkg-tmp