diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-12-30 11:49:52 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-12-30 12:11:55 -0800 |
commit | f18abe54083fd0c89c372b1fad2ecd9abb6bf9db (patch) | |
tree | 3c694c549da317dc26145ddfe6e280779a87a671 /tools | |
parent | d956bb6668553694eb610ef89313e4a4b6bb0f72 (diff) | |
download | uhd-f18abe54083fd0c89c372b1fad2ecd9abb6bf9db.tar.gz uhd-f18abe54083fd0c89c372b1fad2ecd9abb6bf9db.tar.bz2 uhd-f18abe54083fd0c89c372b1fad2ecd9abb6bf9db.zip |
Final updates for 3.9.2 release
- Updated images package
- Updated Debian changelog
- Updated ppa script
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/debs/upload_debs.sh | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/tools/debs/upload_debs.sh b/tools/debs/upload_debs.sh index 4ff03cced..9ecdbbbfb 100755 --- a/tools/debs/upload_debs.sh +++ b/tools/debs/upload_debs.sh @@ -21,6 +21,10 @@ then echo "This script must be run from UHD's top-level directory." exit 1 fi +if [ -f fpga-src/README.md ]; then + echo "This script requires a clean repository without fpga-src checked out!." + exit 1 +fi FORCE_YES=0 if [ $# -eq 1 ] @@ -63,7 +67,7 @@ fi # Generate the TAR file to be uploaded. echo "Creating UHD source archive." -tar --exclude='*git*' --exclude='./debian' --exclude='*.swp' -cJf ../uhd_${VERSION}.orig.tar.xz . +tar --exclude='*git*' --exclude='./debian' --exclude='*.swp' --exclude='fpga-src' --exclude='build' --exclude='images' --exclude='tags' -cJf ../uhd_${VERSION}.orig.tar.xz . if [ $? != 0 ] then echo "Failed to create UHD source archive." @@ -86,7 +90,16 @@ cp -r host/cmake/debian . cp host/utils/uhd-usrp.rules debian/uhd-host.udev find host/docs -name '*.1' > debian/uhd-host.manpages rm -f debian/postinst.in debian/postrm.in debian/preinst.in debian/prerm.in -exit 0 + +if [ $FORCE_YES -ne 1 ] +then + echo "Proceed to generate package info? (yes/no)" + read response + if [ "$response" != "yes" ] + then + exit 0 + fi +fi for RELEASE in ${RELEASES} do @@ -102,6 +115,16 @@ do mv ../changelog.backup debian/changelog done +if [ $FORCE_YES -ne 1 ] +then + echo "Proceed to upload to launchpad? (yes/no)" + read response + if [ "$response" != "yes" ] + then + exit 0 + fi +fi + # Upload package into to Launchpad, which will automatically build packages for RELEASE in ${RELEASES} do |