Changeset 464 for trunk/packages/sipb-xen-dev/sx-build-release
- Timestamp:
- Apr 26, 2008, 10:48:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-dev/sx-build-release
r317 r464 1 1 #!/bin/bash 2 svnuri=`svn info | sed -n 's/^Repository Root: //p'`2 svnuri=`svn info /srv/checkout | sed -n 's/^Repository Root: //p'` 3 3 4 4 set -e … … 17 17 olddir=`pwd` 18 18 cd build-release/`basename $package` 19 19 20 eval `perl '-F:\s+' -lane 'print $F[0]."=".$F[1] if /^Version|^Source|^Distribution/' \ 20 21 <(dpkg-parsechangelog)` 21 22 23 dpkg-buildpackage -us -uc -rfakeroot 22 24 23 dpkg-buildpackage -us -uc -rfakeroot 24 svn mkdir $svnuri/package_tags/$Source -m "Create package tags directory" ||true 25 svn cp $svnuri/$package $svnuri/package_tags/$Source/$Version -m "Tag $Version of $Source" 25 if ! svn ls $svnuri/package_tags/$Source >/dev/null 2>&1; then 26 svn mkdir $svnuri/package_tags/$Source \ 27 -m "Create package tags directory" 28 fi 29 if ! svn ls $svnuri/package_tags/$Source/$Version >/dev/null 2>&1; then 30 svn cp $svnuri/$package $svnuri/package_tags/$Source/$Version \ 31 -m "Tag $Version of $Source" 32 else 33 echo "$(basename $0): tag already exists, not making again" 34 fi 35 26 36 cd .. 27 37 reprepro-env include $Distribution `pwd`/${Source}_*${Version}*.changes 28 38 29 39 cd $olddir
Note: See TracChangeset
for help on using the changeset viewer.