diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ac4cecd51..60dc5a4cff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,10 +39,14 @@ jobs: - name: Release. env: GITHUB_KEY: ${{ github.token }} + GH_TOKEN: ${{ github.token }} run: | source test_evadb/bin/activate + pip install twine + git config --global user.email "caojiashen24@gmail.com" + git config --global user.name "Jiashen Cao" 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 -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 fba54a36d7..d231a99627 100644 --- a/evadb/version.py +++ b/evadb/version.py @@ -2,5 +2,6 @@ _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 a5ed7d6e45..9ee912b9dc 100755 --- a/script/releasing/releaser.py +++ b/script/releasing/releaser.py @@ -229,7 +229,6 @@ def publish_wheels(tag): def upload_assets(changelog, tag): # Authentication token access_token = os.environ["GITHUB_KEY"] - print(access_token) # Repository information repo_owner = "georgia-tech-db" repo_name = "evadb" @@ -296,7 +295,7 @@ def bump_up_version(next_version): 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}") + run_command(f"gh pr create -B staging -H bump-{NEXT_RELEASE} --title 'Bump Version to {NEXT_RELEASE}' --body 'Bump Version to {NEXT_RELEASE}'") # ==============================================