Skip to content

Commit

Permalink
bump version to 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgauthier committed Oct 11, 2020
1 parent 9cd20a0 commit ae3748f
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/release-notes/1.8.1_changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# TaylorBot Release Notes 📝
`v1.8.1` - `2020.10.11`

- If you have the "Manage Messages" permission in a channel, you can now close someone else's poll in that channel! 🚪

- It is now possible to use the **Prefix** command without a parameter to know what is the current command prefix in a server! 🔎

- A better error message is now shown when **LastFm** is used on an account with private recent listening information! 📖

- Reworked **BotInfo** command now includes an invite link and a description! 🔗

- Fixed an issue where under rare circumstances, it was possible for TaylorBot to ignore a user indefinitely. 🐛

- Lots of minor improvements and fixes. 📈
10 changes: 10 additions & 0 deletions src/taylorbot-postgres/deploy/0008_bump_version_1.8.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-- Deploy taylorbot-postgres:0008_bump_version_1.8.1 to pg

BEGIN;

UPDATE configuration.application_info SET info_value = '1.8.1' WHERE info_key = 'product_version';

INSERT INTO commands.messages_of_the_day (message) VALUES
('Do you like TaylorBot? Do you want to add it to another server you''re in? Go to https://taylorbot.app/ to get started!');

COMMIT;
11 changes: 11 additions & 0 deletions src/taylorbot-postgres/revert/0008_bump_version_1.8.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-- Revert taylorbot-postgres:0008_bump_version_1.8.1 from pg

BEGIN;

UPDATE configuration.application_info SET info_value = '1.8.0' WHERE info_key = 'product_version';

DELETE FROM commands.messages_of_the_day WHERE
message = 'Do you like TaylorBot? Do you want to add it to another server you''re in? Go to https://taylorbot.app/ to get started!'
;

COMMIT;
1 change: 1 addition & 0 deletions src/taylorbot-postgres/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
0005_update_1.8.0_message_of_the_day 2020-09-21T04:21:17Z Adam Gauthier <[email protected]> # Update 1.8.0 message of the day to a normal message about roles
0006_rename_setprefix_command 2020-10-04T05:26:42Z Adam Gauthier <[email protected]> # Rename setprefix command to prefix
0007_add_application_info 2020-10-10T03:18:09Z Adam Gauthier <[email protected]> # Add configuration.application_info with product version
0008_bump_version_1.8.1 2020-10-11T05:40:51Z Adam Gauthier <[email protected]> # Bump product version to 1.8.1
14 changes: 14 additions & 0 deletions src/taylorbot-postgres/verify/0008_bump_version_1.8.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-- Verify taylorbot-postgres:0008_bump_version_1.8.1 on pg

BEGIN;

DO $$
BEGIN
ASSERT (SELECT info_value FROM configuration.application_info WHERE info_key = 'product_version') = '1.8.1';

ASSERT (SELECT EXISTS((SELECT 1 FROM commands.messages_of_the_day WHERE
message = 'Do you like TaylorBot? Do you want to add it to another server you''re in? Go to https://taylorbot.app/ to get started!'
)));
END $$;

ROLLBACK;

0 comments on commit ae3748f

Please sign in to comment.