diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17b164d7db..6ac4cecd51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,4 +41,8 @@ jobs: GITHUB_KEY: ${{ github.token }} run: | source test_evadb/bin/activate - python script/releasing/releaser.py -n minor -u + python script/releasing/releaser.py -n patch -u # changelog + python script/releasing/releaser.py -n patch -r # release + python script/releasing/releaser.py -n patch -p # push to PyPI + python script/releasing/releaser.py -n patch -a # push the release + python script/releasing/releaser.py -n patch -b # version bump up diff --git a/evadb/version.py b/evadb/version.py index d231a99627..fba54a36d7 100644 --- a/evadb/version.py +++ b/evadb/version.py @@ -2,6 +2,5 @@ _MINOR = "3" _REVISION = "5" - VERSION_SHORT = f"{_MAJOR}.{_MINOR}" VERSION = f"{_MAJOR}.{_MINOR}.{_REVISION}" diff --git a/script/releasing/releaser.py b/script/releasing/releaser.py index 72c4b84a55..a5ed7d6e45 100755 --- a/script/releasing/releaser.py +++ b/script/releasing/releaser.py @@ -292,12 +292,11 @@ def bump_up_version(next_version): NEXT_RELEASE = f"v{str(next_version)}+dev" - print(NEXT_RELEASE) - run_command("git checkout -b bump-" + NEXT_RELEASE) run_command("git add . -u") run_command("git commit -m '[BUMP]: " + NEXT_RELEASE + "'") run_command("git push --set-upstream origin bump-" + NEXT_RELEASE) + run_command(f"gh pr create -B staging -H bump-{NEXT_RELEASE}") # ==============================================