From fb23c496a46ffdead4fea93765b7943ca0684002 Mon Sep 17 00:00:00 2001 From: Rikko Date: Thu, 26 Jan 2023 18:19:36 +0530 Subject: [PATCH 1/4] API 7 --- plugins/utilities.json | 13 ++++--------- .../{hello_api_8.py => hello_api_experiment.py} | 4 ++-- 2 files changed, 6 insertions(+), 11 deletions(-) rename plugins/utilities/{hello_api_8.py => hello_api_experiment.py} (52%) diff --git a/plugins/utilities.json b/plugins/utilities.json index 00be224..8e50073 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -671,8 +671,8 @@ } } }, - "hello_api_8": { - "description": "I shouldn't be visible to API 7 game clients", + "hello_api_experiment": { + "description": "I shouldn't be visible to on clients with different API version", "external_url": "", "authors": [ { @@ -682,13 +682,8 @@ } ], "versions": { - "1.0.0": { - "api_version": 8, - "commit_sha": "204499e", - "released_on": "25-01-2023", - "md5sum": "b694717a3fc0ef3d1d3a66ed399adbae" - } + "1.0.0": null } } } -} \ No newline at end of file +} diff --git a/plugins/utilities/hello_api_8.py b/plugins/utilities/hello_api_experiment.py similarity index 52% rename from plugins/utilities/hello_api_8.py rename to plugins/utilities/hello_api_experiment.py index 909a5df..16b4030 100644 --- a/plugins/utilities/hello_api_8.py +++ b/plugins/utilities/hello_api_experiment.py @@ -1,4 +1,4 @@ -# ba_meta require api 8 +# ba_meta require api 7 import ba # ba_meta export plugin @@ -6,4 +6,4 @@ import ba class Main(ba.Plugin): def on_app_running(self): - ba.screenmessage("Wohoo! I'm an API 8 plugin!") + ba.screenmessage("Wohoo! I'm an API 7 plugin!") From f2e674ce2040fac3a01bc934f450a3827e7d4972 Mon Sep 17 00:00:00 2001 From: rikkolovescats Date: Thu, 26 Jan 2023 12:50:43 +0000 Subject: [PATCH 2/4] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 8e50073..8cf4c61 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -682,8 +682,13 @@ } ], "versions": { - "1.0.0": null + "1.0.0": { + "api_version": 7, + "commit_sha": "fb23c49", + "released_on": "26-01-2023", + "md5sum": "3a3c88996aaab26de8eab530cebebb44" + } } } } -} +} \ No newline at end of file From 24830a896a194adb9fe66cd69d880b0e32a39ad1 Mon Sep 17 00:00:00 2001 From: Rikko Date: Thu, 26 Jan 2023 18:29:13 +0530 Subject: [PATCH 3/4] API 8 --- plugins/utilities.json | 3 ++- plugins/utilities/hello_api_experiment.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 8cf4c61..e7be458 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -682,6 +682,7 @@ } ], "versions": { + "2.0.0": null, "1.0.0": { "api_version": 7, "commit_sha": "fb23c49", @@ -691,4 +692,4 @@ } } } -} \ No newline at end of file +} diff --git a/plugins/utilities/hello_api_experiment.py b/plugins/utilities/hello_api_experiment.py index 16b4030..909a5df 100644 --- a/plugins/utilities/hello_api_experiment.py +++ b/plugins/utilities/hello_api_experiment.py @@ -1,4 +1,4 @@ -# ba_meta require api 7 +# ba_meta require api 8 import ba # ba_meta export plugin @@ -6,4 +6,4 @@ import ba class Main(ba.Plugin): def on_app_running(self): - ba.screenmessage("Wohoo! I'm an API 7 plugin!") + ba.screenmessage("Wohoo! I'm an API 8 plugin!") From 1cd681703eb1f5e2879f207d1fb605d5bead465b Mon Sep 17 00:00:00 2001 From: rikkolovescats Date: Thu, 26 Jan 2023 12:59:49 +0000 Subject: [PATCH 4/4] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index e7be458..bb7270c 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -682,7 +682,12 @@ } ], "versions": { - "2.0.0": null, + "2.0.0": { + "api_version": 8, + "commit_sha": "24830a8", + "released_on": "26-01-2023", + "md5sum": "b694717a3fc0ef3d1d3a66ed399adbae" + }, "1.0.0": { "api_version": 7, "commit_sha": "fb23c49", @@ -692,4 +697,4 @@ } } } -} +} \ No newline at end of file