Skip to content

Commit

Permalink
Bumped version to 2.1.2 (Crystal Kaizo+)
Browse files Browse the repository at this point in the history
  • Loading branch information
EverOddish committed Jul 14, 2022
1 parent 0f1d620 commit 183eff1
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DrFujiBot_Django/dashboard/admin_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def handle_shoutout(args):

def handle_debug(args):
# Not sure what else would be useful to put here.
output = 'DrFujiBot 2.1.1'
output = 'DrFujiBot 2.1.2'
return output

def handle_afflict(args):
Expand Down
3 changes: 2 additions & 1 deletion DrFujiBot_Django/dashboard/lookup_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ def get_generation(game):
return 1
elif 'Pokemon Gold' == game or \
'Pokemon Silver' == game or \
'Pokemon Crystal' == game:
'Pokemon Crystal' == game or \
'Pokemon Crystal Kaizo+' == game:
return 2
elif 'Pokemon Ruby' == game or \
'Pokemon Sapphire' == game or \
Expand Down
2 changes: 1 addition & 1 deletion DrFujiBot_Django/scheduled_tasks/backup_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def backup_database():
original_path = settings.DATABASES['default']['NAME']
now = datetime.now()
filename = 'db_2.1.1_' + now.strftime('%Y-%m-%d_%H-%M-%S') + '.sqlite3'
filename = 'db_2.1.2_' + now.strftime('%Y-%m-%d_%H-%M-%S') + '.sqlite3'
backup_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', '..', 'DrFujiBot_Backup', filename)
print('Backing up database from ' + original_path + ' to ' + backup_path)
shutil.copyfile(original_path, backup_path)
Expand Down
2 changes: 1 addition & 1 deletion DrFujiBot_Installer/install_python.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Application]
name=DrFujiBot
version=2.1.1
version=2.1.2
entry_point=launcher:start
icon=drfuji.ico

Expand Down
2 changes: 1 addition & 1 deletion DrFujiBot_Twitch/DrFujiBot_Twitch/TwitchService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private void Client_OnMessageReceived(object sender, OnMessageReceivedArgs e)
url += "is_moderator=" + (e.ChatMessage.IsModerator ? "True" : "False") + "&";
url += "is_subscriber=" + (e.ChatMessage.IsSubscriber ? "True" : "False") + "&";
url += "username=" + e.ChatMessage.Username + "&";
url += "line=" + e.ChatMessage.Message;
url += "line=" + Uri.EscapeDataString(e.ChatMessage.Message);

requestAndDisplay(url);
}
Expand Down
3 changes: 3 additions & 0 deletions release_checklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Release Checklist:
python manage.py migrate --database=westwood
python manage.py import_westwood_data

* If adding a new game from Westwood, update:
* DrFujiBot_Django/dashboard/lookup_commands.py handle_tm()
* DrFujiBot_Django/dashboard/lookup_helpers.py get_generation()
* Build DrFujiBot_Twitch in Visual Studio in Release
* Build and test the installer
* Create a release on GitHub with this format:
Expand Down

0 comments on commit 183eff1

Please sign in to comment.