-
Notifications
You must be signed in to change notification settings - Fork 10
ReleaseProcedure
Karl Ramm edited this page Aug 3, 2009
·
5 revisions
Mostly notes to myself, will be a shell script soon:
svn up # moron VERSION=$(dpkg-parsechangelog | awk '$1=="Version:" { print $2 }') {| border=1 class="simple" ! git svn info) / awk '$1=="Revision:" { print $2 }') |} NEWVERSION=$(echo $VERSION | sed -e "s/^[0-9]://;s/\.HEAD/.$REVISION/") TAG=svn://zephyr.1ts.org/branches/$NEWVERSION svn cp svn://zephyr.1ts.org/trunk@$REVISION $TAG -m "tag $NEWVERSION" TMP=$(mktemp -d) svn export $TAG/zephyr $TMP/zephyr-$NEWVERSION DISTFILE=zephyr-${NEWVERSION}.tar.gz tar cvzf $TMP/$DISTFILE --exclude=debian -C $TMP zephyr-$NEWVERSION svn import $TMP/$DISTFILE svn://zephyr.1ts.org/distribution/$DISTFILE -m "release tarball of ${NEWVERSION}" md5sum $TMP/$DISTFILE