Edit

kc3-lang/ftgl/ppa_upload.sh

Branch :

  • Show log

    Commit

  • Author : Richard Ulrich
    Date : 2012-09-24 21:10:16
    Hash : 9289260d
    Message : another try

  • ppa_upload.sh
  • #!/bin/sh
    # build a debian sourcepackage and upload it to the launchpad ppa
    for DISTRIBUTION in precise quantal # oneiric natty maverick 
    do
    	FTGLVERSIONSTR=2.1.3~rc5-9polyextr~${DISTRIBUTION}
    	sed -i  -e "s/maverick/${DISTRIBUTION}/g" -e "s/natty/${DISTRIBUTION}/g" -e "s/oneiric/${DISTRIBUTION}/g" -e "s/precise/${DISTRIBUTION}/g" debian/changelog
    #	rm -rf debian/source
    	dpkg-buildpackage -rfakeroot -k${GPGKEY} -S
    	dput ppa:richi-paraeasy/ppa ../ftgl_${FTGLVERSIONSTR}_source.changes
    done