Merge pull request #14 from bellingcat/dev

Dev
This commit is contained in:
Richard Mwewa
2023-02-22 16:30:04 +02:00
committed by GitHub
3 changed files with 6 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ from octosuite.config import red, white, green, reset, Tree
# banner.py
# This file holds the program's banner and version tag
version_tag = "3.2.0"
version_tag = "3.1.1"
def banner():

View File

@@ -78,9 +78,10 @@ def check_updates():
if response['tag_name'] == version_tag:
pass
else:
markdown_text = response['body']
release_notes = Markdown(markdown_text)
xprint(f"[{green}UPDATE{reset}] A new release of Octosuite is available ({response['tag_name']}).\n\n{release_notes}\n\nRun 'pip install --upgrade octosuite' to get the updates.\n")
raw_release_notes = response['body']
markdown_release_notes = Markdown(raw_release_notes)
xprint(f"[{green}UPDATE{reset}] A new release of Octosuite is available ({response['tag_name']}). Run 'pip install --upgrade octosuite' to get the updates.\n")
xprint(markdown_release_notes)
def list_dir_and_files():

View File

@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as file:
setuptools.setup(
name="octosuite",
version="3.2.0",
version="3.1.1",
author="Richard Mwewa",
author_email="rly0nheart@duck.com",
packages=["octosuite"],