diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1257de..6c2fa3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,18 +109,16 @@ jobs: - name: Check for major / minor version bump if: ${{ startsWith(github.head_ref, 'release') && github.ref != 'refs/heads/master' }} run: | - if (($VERSION_OLD_MAJOR < $VERSION_NEW_MAJOR)) && - (($VERSION_OLD_MINOR = $VERSION_NEW_MINOR)); then + if (($VERSION_OLD_MAJOR < $VERSION_NEW_MAJOR)); then echo "Bumped major version $VERSION_OLD -> $VERSION_NEW" exit 0 - elif (($VERSION_OLD_MAJOR = $VERSION_NEW_MAJOR)) && - (($VERSION_OLD_MINOR < $VERSION_NEW_MINOR)); then + elif (($VERSION_OLD_MINOR < $VERSION_NEW_MINOR)); then echo "Bumped minor version $VERSION_OLD -> $VERSION_NEW" exit 0 else echo "Major / minor version must be bumped for release" exit 1 - fin + fi - name: Create and push tag if: github.ref == 'refs/heads/master' run: | diff --git a/app_store_scraper/__version__.py b/app_store_scraper/__version__.py index d3afcdd..829bd13 100644 --- a/app_store_scraper/__version__.py +++ b/app_store_scraper/__version__.py @@ -1,5 +1,5 @@ __title__ = "app-store-scraper" -__version__ = "0.2.4" +__version__ = "0.3.0" __description__ = "Single API ☝ App Store Review Scraper 🧹" __author__ = "Eric Lim" __url__ = "https://github.com/cowboy-bebug/app-store-scraper"