Skip to content

Commit

Permalink
Bump to v1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sryu1 committed Jan 21, 2023
1 parent 1922aae commit 11b631f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Bot-CLI.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,12 @@ def update():
ghrapi = requests.get(
"https://api.github.com/repos/sryu1/YouTube_View_Bot/releases/latest"
)
current_version = "1.2.3"
current_version = "v1.2.4"
latest_version = str(ghrapi.json()["name"])
if current_version < latest_version:
print(
f"A new update ({latest_version}) has been released!\n"
f"Get the release at https://github.com/sryu1/YouTube_View_Bot/releases/tag/{latest_version}\n"
f"Check the changelogs to see if there are any updates to the CLI, "
f"updates will most likely be for the GUI"
f"Get the release at https://github.com/sryu1/YouTube_View_Bot/releases/tag/{latest_version}"
)

update()
Expand Down
2 changes: 1 addition & 1 deletion Bot.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def main():
ghrapi = requests.get(
"https://api.github.com/repos/sryu1/YouTube_View_Bot/releases/latest"
)
current_version = "1.2.3"
current_version = "v1.2.4"
latest_version = str(ghrapi.json()["name"])
if current_version < latest_version:
update_window = customtkinter.CTkToplevel()
Expand Down
2 changes: 1 addition & 1 deletion Stream Bot.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def main():
ghrapi = requests.get(
"https://api.github.com/repos/sryu1/YouTube_View_Bot/releases/latest"
)
current_version = "1.2.3"
current_version = "v1.2.4"
latest_version = str(ghrapi.json()["name"])
if current_version < latest_version:
update_window = customtkinter.CTkToplevel()
Expand Down

0 comments on commit 11b631f

Please sign in to comment.