Changeset 466 for trunk/packages/sipb-xen-dev/sx-build-release
- Timestamp:
- Apr 26, 2008, 11:14:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-dev/sx-build-release
r464 r466 4 4 set -e 5 5 if [ $# -ne 1 ] ; then 6 echo " usage: sx-build-release trunk/packages/package_name"6 echo " usage: sx-build-release package_name" 7 7 exit 1 8 8 fi 9 9 10 if [ -d build-release ] ; then11 echo "a previous build release directory exists; please clean up"12 exit 113 fi14 15 10 package=$1 16 svn export $svnuri/$package build-release/`basename $package` 17 olddir=`pwd` 18 cd build-release/ `basename $package`11 rm -rf build-release/$package 12 svn export $svnuri/trunk/packages/$package build-release/$package 13 cd build-release/$package 19 14 20 15 eval `perl '-F:\s+' -lane 'print $F[0]."=".$F[1] if /^Version|^Source|^Distribution/' \ … … 28 23 fi 29 24 if ! svn ls $svnuri/package_tags/$Source/$Version >/dev/null 2>&1; then 30 svn cp $svnuri/ $package $svnuri/package_tags/$Source/$Version \25 svn cp $svnuri/trunk/packages/$package $svnuri/package_tags/$Source/$Version \ 31 26 -m "Tag $Version of $Source" 32 27 else … … 35 30 36 31 cd .. 37 reprepro-env include $Distribution `pwd`/${Source}_*${Version}*.changes 32 reprepro-env include unstable `pwd`/${Source}_*${Version}*.changes 33 reprepro-env include stable `pwd`/${Source}_*${Version}*.changes 38 34 39 cd $olddir35 cd .. 40 36 rm -rf build-release
Note: See TracChangeset
for help on using the changeset viewer.