Skip to content

Commit

Permalink
fix: release (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiashenC committed Sep 20, 2023
1 parent 89e5ee5 commit 54a1620
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion evadb/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
_MINOR = "3"
_REVISION = "5"


VERSION_SHORT = f"{_MAJOR}.{_MINOR}"
VERSION = f"{_MAJOR}.{_MINOR}.{_REVISION}"
3 changes: 1 addition & 2 deletions script/releasing/releaser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")


# ==============================================
Expand Down

0 comments on commit 54a1620

Please sign in to comment.