Skip to content

Commit 3323fef

Browse files
committed
Tweaked mkrelease to add a new development tag matching each new release tag, to make it easier to create personal development branches with development settings.
- Legacy-Id: 7809
1 parent c1d75da commit 3323fef

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

bin/mkrelease

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ MINOR=${REST%%.*}
161161
CHANGE=${REST#*.}
162162
VER="$(printf %d.%d.%d $MAJOR $MINOR $CHANGE)"
163163
NEXT=$(( $CHANGE + 1 ))
164-
DEV="$(printf %d.%d.%d-dev $MAJOR $MINOR $NEXT)"
164+
DEV="$(printf %d.%d.%d-dev0 $MAJOR $MINOR $NEXT)"
165165

166166
note "Checking that there's a recent test-crawler log"
167167
touch -d $RDATE .svn/.latest-commit
@@ -218,6 +218,9 @@ $do sed -i -r -e 's/^DEBUG *= *.*$/DEBUG = True/' \
218218
note "\nCommitting the updated version and deployment settings"
219219
$do svn commit $VERFILE $SETTINGS -m "Set version info and settings back to development mode"
220220

221+
note "\nCreating new tag 'tags/dev/$DEV' from $SRC"
222+
$do svn cp $REPO/$SRC $REPO/tags/dev/$DEV -m "Creating new tag 'tags/dev/$DEV' from $SRC"
223+
221224
$do svn update
222225

223226
echo "
@@ -230,9 +233,12 @@ Release notes:
230233
231234
$changes
232235
233-
The new version is available through SVN checkout, with
236+
The new version is available for installation through SVN checkout, with
234237
'svn checkout http://svn.tools.ietf.org/svn/tools/ietfdb/tags/$VER'
235238
239+
For development, check out the new development version instead:
240+
'svn checkout http://svn.tools.ietf.org/svn/tools/ietfdb/tags/dev/$DEV'
241+
236242
Regards,
237243
238244
Henrik

0 commit comments

Comments
 (0)