activate the previous version redirect on new release
This commit is contained in:
parent
516c6c2a8b
commit
5103947b96
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ $echo sed -i -e "/versions_accepted=/s/$PREV_VERSION/$NEXT_VERSION/" $DEV_SERVER
|
|||
$echo sed -i -e "/motd=/s/$PREV_VERSION/$NEW_VERSION/g" $DEV_SERVER_CONFIG
|
||||
# update previous version redirect
|
||||
$echo sed -i -e "/\[redirect\]/N;/version=/s/$PPREV_VERSION/$PREV_VERSION/" $PREV_SERVER_REDIRECT
|
||||
$echo sed -i -e "s,#{./$DEV_VERSION-prev-redirect.cfg},{./$DEV_VERSION-prev-redirect.cfg}," $DEV_SERVER_CONFIG
|
||||
# reload the config
|
||||
$echo killall -SIGHUP wesnothd-$DEV_VERSION wesnothd-trunk || exit 1
|
||||
$echo send_server_command $DEV_VERSION msg Version $NEW_VERSION released! New users with the previous version will be redirected to a temporary server that will run until binaries for all major OSs are out.
|
||||
|
|
Loading…
Add table
Reference in a new issue