Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Add bump2version #46

Merged
merged 1 commit into from
May 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
These are the steps that will bump the release version, commit that code, and tag it. Once this is complete, the build system, CircleCI, will automatically build, test, and push the artifacts to PyPi under the `marquez-python` project located here: https://pypi.org/manage/project/marquez-python/releases/.

1. Make sure you are currently on the `master` branch.
2. Make sure to have the python package `bumpversion` installed.
2. Make sure to have the python package `bump2version` installed.
3. Run ./release.sh [major | minor | patch] to indicate whether the release will up the major, minor, or patch version respectively.
4. Verify that the correct tag is there.
5. Push the commit to the `master` branch.
Expand Down
6 changes: 3 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ version=$(python ./setup.py --version)
echo "Upgrading version from the current version of ${version}"


# The {new_version} is not a bash variable - it's a bumpversion notation for the new version.
# Please see bumpversion --help for more information.
bumpversion --current-version ${version} --commit --tag --tag-name {new_version} ${type} ./setup.py
# The {new_version} is not a bash variable - it's a bump2version notation for the new version.
# Please see bump2version --help for more information.
bump2version --current-version ${version} --commit --tag --tag-name {new_version} ${type} ./setup.py
git push --tags origin master
echo "Done pushing to master"
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ current_version = 0.3.2

[metadata]
description-file = README.md