Skip to content

Commit fe43b90

Browse files
committed
Update the mkrelease script to not automatically create new branch/N.NN branches off trunk when releasing from trunk.
- Legacy-Id: 2368
1 parent 10666bd commit fe43b90

1 file changed

Lines changed: 3 additions & 19 deletions

File tree

test/mkrelease

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -209,22 +209,6 @@ $do sed -i -r -e 's/^DEBUG *= *.*$/DEBUG = True/' \
209209
note "\nCommitting the updated version and deployment settings"
210210
$do svn commit $VERFILE $SETTINGS -m "Set version info and settings back to development mode"
211211

212-
# if SRC is 'trunk', then also create a new branch
213-
if [ $SRC = "trunk" ]; then
214-
if svn info $REPO/branch/$VER 2>&1 | grep -q "Not a valid URL"; then
215-
note "\nCreating new branch 'branch/$VER' from $SRC"
216-
$do svn cp $REPO/$SRC $REPO/branch/$VER -m "Creating new branch 'branch/$VER' from $SRC"
217-
fi
218-
219-
note "\nUpdating version and revision info on trunk"
220-
$do sed -i -r -e "/^__version__/s/\"[0-9.]*\"/\"$MAJOR.xx-trunk\"/" \
221-
-e "/^__rev__/s/\"\\\$Rev: (.*) \\\$\"/\"\$Rev:\$ (dev) Latest release: Rev. \1 \"/" \
222-
$VERFILE
223-
224-
note "Commit version information '$MAJOR.xx-trunk'"
225-
$do svn commit $VERFILE $SETTINGS -m "Set version of the trunk to $MAJOR.xx-trunk after branching off $VER"
226-
fi
227-
228212
$do svn update
229213

230214
echo "
@@ -244,7 +228,7 @@ Regards,
244228
245229
Henrik
246230
(via the mkrelease script)
247-
" | mail -s "New datatracker release: v$VER" -c henrik@levkowetz.com -c glen@amsl.com -c fenner@fenron.net -c pasi.eronen@nokia.com -c rjs@nostrum.com -c housley@vigilsec.com codesprints@ietf.org
231+
" | $do mail -s "New datatracker release: v$VER" -c henrik@levkowetz.com -c glen@amsl.com -c fenner@fenron.net -c pasi.eronen@nokia.com -c rjs@nostrum.com -c housley@vigilsec.com codesprints@ietf.org
248232

249-
toolsfeed control changelog /www/tools.ietf.org/tools/atomfeed.xml
250-
toolpush /www/tools.ietf.org/tools/atomfeed.xml
233+
$do toolsfeed control changelog /www/tools.ietf.org/tools/atomfeed.xml
234+
$do toolpush /www/tools.ietf.org/tools/atomfeed.xml

0 commit comments

Comments
 (0)