diff options
-rw-r--r-- | bd.cmd | 3 | ||||
-rw-r--r-- | bm.sh | 3 | ||||
-rw-r--r-- | bump.sh | 9 |
3 files changed, 12 insertions, 3 deletions
@@ -1,4 +1,7 @@ @echo off +rem produce the DDK binary files for snapshots +rem !!!THIS SCRIPT IS FOR INTERNAL DEVELOPER USE ONLY!!! + if NOT x%DDK_TARGET_OS%==xWinXP goto usage mkdir E:\dailies\%DATE% @@ -1,4 +1,7 @@ #!/bin/sh +# produce the MinGW binary files for snapshots +# !!!THIS SCRIPT IS FOR INTERNAL DEVELOPER USE ONLY!!! + date=`date +%Y.%m.%d` # @@ -1,6 +1,6 @@ #!/bin/sh - -# This script bumps the version and updates the git tree accordingly, with tag +# bump the version and update the git tree accordingly +# !!!THIS SCRIPT IS FOR INTERNAL DEVELOPER USE ONLY!!! type -P sed &>/dev/null || { echo "sed command not found. Aborting." >&2; exit 1; } type -P git &>/dev/null || { echo "git command not found. Aborting." >&2; exit 1; } @@ -19,8 +19,11 @@ if [ ! ${TAG:0:3} = 'pbr' ]; then exit 1 fi TAGVER=${TAG:3} +case $TAGVER in *[!0-9]*) + echo "$TAGVER is not a number" + exit 1 +esac OFFSET=10000 -# increment - ideally, we'd check that tagver is really numeric here TAGVER=`expr $TAGVER + 1` TAGVER_OFF=`expr $TAGVER + $OFFSET` echo "Bumping version to pbr$TAGVER (nano: $TAGVER_OFF)" |