Skip to content

Commit

Permalink
avoid interpolating a string to define the version
Browse files Browse the repository at this point in the history
  • Loading branch information
juandebravo committed Jul 12, 2015
1 parent 78bb372 commit 4c6f131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ endif

git checkout -b ${VERSION}-release master

sed -i '' -e 's/{VERSION}/${VERSION}/g' setup.py
sed -i '' -e "s/version='[^']*'/version='${VERSION}'/" setup.py
git add setup.py
git commit -m "Tagging version ${VERSION}"

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
install_requires=[],
tests_require=['nose', 'pyshould'],
test_suite='nose.collector',
version='1.0.3',
zip_safe=False,
)

0 comments on commit 4c6f131

Please sign in to comment.