Skip to content

Commit

Permalink
fix a bug with release script (apache#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
roaraya8 authored Mar 21, 2019
1 parent 3dee386 commit 2a0664f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ 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
bumpversion --current-version ${version} \
--search "VERSION = \"{current_version}\"" \
--replace "VERSION = \"{new_version}\"" \
--commit --tag \
--tag-name {new_version} \
${type} ./setup.py
git push --tags origin master
echo "Done pushing to master"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
url="https://github.com/MarquezProject/marquez-airflow",
packages=setuptools.find_packages(),
install_requires=[
"marquez-python==0.1.21",
"marquez-python==0.1.11",
],
)

0 comments on commit 2a0664f

Please sign in to comment.