On Jan 31, 2008 10:20 AM, <hwright_at_tigris.org> wrote:
> Author: hwright
> Date: Thu Jan 31 10:20:45 2008
> New Revision: 29110
>
> Log:
> * tools/dist/dist.sh:
> Add a '-nightly' option for tagging releases.
This is distribution-related; should it be backported?
--dave
> Modified:
> trunk/tools/dist/dist.sh
>
> Modified: trunk/tools/dist/dist.sh
> URL: http://svn.collab.net/viewvc/svn/trunk/tools/dist/dist.sh?pathrev=29110&r1=29109&r2=29110
> ==============================================================================
> --- trunk/tools/dist/dist.sh (original)
> +++ trunk/tools/dist/dist.sh Thu Jan 31 10:20:45 2008
> @@ -46,7 +46,8 @@
> ./dist.sh -v 0.36.0 -r 8278 -pr trunk
> ./dist.sh -v 0.36.0 -r 8282 -rs 8278 -pr tags/0.36.0
> ./dist.sh -v 0.36.0 -r 8282 -rs 8278 -pr tags/0.36.0 -alpha 1
> - ./dist.sh -v 0.36.0 -r 8282 -rs 8278 -pr tags/0.36.0 -beta 1"
> + ./dist.sh -v 0.36.0 -r 8282 -rs 8278 -pr tags/0.36.0 -beta 1
> + ./dist.sh -v 0.36.0 -r 8282 -rs 8278 -pr tags/0.36.0 -nightly r8282"
>
> # Let's check and set all the arguments
> ARG_PREV=""
> @@ -60,6 +61,7 @@
> -pr) REPOS_PATH="$ARG" ;;
> -alpha) ALPHA="$ARG" ;;
> -beta) BETA="$ARG" ;;
> + -nightly) NIGHTLY="$ARG" ;;
> -rc) RC="$ARG" ;;
> -apr) APR_PATH="$ARG" ;;
> -apru) APRU_PATH="$ARG" ;;
> @@ -70,7 +72,7 @@
> ARG_PREV=""
> else
> case $ARG in
> - -v|-r|-rs|-pr|-alpha|-beta|-rc|-apr|-apru|-apri|-zlib|-neon)
> + -v|-r|-rs|-pr|-alpha|-beta|-rc|-apr|-apru|-apri|-zlib|-neon|-nightly)
> ARG_PREV=$ARG
> ;;
> -zip) ZIP=1 ;;
> @@ -84,9 +86,10 @@
> fi
> done
>
> -if [ -n "$ALPHA" ] && [ -n "$BETA" ] ||
> - [ -n "$ALPHA" ] && [ -n "$RC" ] ||
> - [ -n "$BETA" ] && [ -n "$RC" ] ; then
> +if [ -n "$ALPHA" ] && [ -n "$BETA" ] && [ -n "$NIGHTLY" ] ||
> + [ -n "$ALPHA" ] && [ -n "$RC" ] && [ -n "$NIGHTLY" ] ||
> + [ -n "$BETA" ] && [ -n "$RC" ] && [ -n "$NIGHTLY" ] ||
> + [ -n "$ALPHA" ] && [ -n "$BETA" ] && [ -n "$RC" ]; then
> echo " $USAGE"
> exit 1
> elif [ -n "$ALPHA" ] ; then
> @@ -98,11 +101,14 @@
> elif [ -n "$RC" ] ; then
> VER_TAG="Release Candidate $RC"
> VER_NUMTAG="-rc$RC"
> +elif [ -n "$NIGHTLY" ] ; then
> + VER_TAG="Nightly Build ($NIGHTLY)"
> + VER_NUMTAG="-nightly-$NIGHTLY"
> else
> VER_TAG="r$REVISION"
> VER_NUMTAG=""
> fi
> -
> +
> if [ -n "$ZIP" ] ; then
> EXTRA_EXPORT_OPTIONS="--native-eol CRLF"
> fi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: svn-help_at_subversion.tigris.org
>
>
--
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-12 19:23:44 CET