From 6bf4487caae484fba74d1f8072623f55b8125614 Mon Sep 17 00:00:00 2001 From: Zachary G Date: Sun, 31 Mar 2024 17:48:35 +0800 Subject: [PATCH] Release Version 2.0.1 # v2.0.1 Fix `python-version-check.yml` not running correctly. Add `.gitignore` as mentioned in previous changelog. Added `.env` to gitignore. --- .github/workflows/python-version-check.yml | 5 ++++- .gitignore | 2 ++ changelog.txt | 5 +++++ run.py | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.github/workflows/python-version-check.yml b/.github/workflows/python-version-check.yml index af5ff49..969735e 100644 --- a/.github/workflows/python-version-check.yml +++ b/.github/workflows/python-version-check.yml @@ -28,7 +28,10 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f requirements.txt ]; then + pip install -r requirements.txt + fi + - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..963a057 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +.env diff --git a/changelog.txt b/changelog.txt index ee11fa9..34947f7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,10 @@ ## Changelog +# v2.0.1 +Fix `python-version-check.yml` not running correctly. +Add `.gitignore` as mentioned in previous changelog. + Added `.env` to gitignore. + # v2.0.0 Added dotenv to have environment variables (channed id, bot token) seperate from the main script in the form of a .env file. This is more for my sake cause i'm an idiot and will end up leaking sensitive info. diff --git a/run.py b/run.py index fe5b940..0dc3133 100644 --- a/run.py +++ b/run.py @@ -1,4 +1,4 @@ -## Version: 2.0.0 +## Version: 2.0.1 ## License: https://github.com/redtrillix/DiscordComputerStatus/raw/main/LICENSE ## Git Repository: https://github.com/redtrillix/DiscordComputerStatus ## Changelog: https://github.com/redtrillix/DiscordComputerStatus/blob/main/CHANGELOG.txt