Skip to content

Commit

Permalink
Use double quotes for version file
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-jiayu committed Apr 28, 2019
1 parent 0bf204e commit 926c34c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build: clean version
pipenv run twine check $(output)

version:
printf "# generated\n__version__ = '$(shell git describe | sed s/^v//)'\n" > nlbsg/__version__.py
printf "# generated\n__version__ = \"$(shell git describe | sed s/^v//)\"\n" > nlbsg/__version__.py

publish: build
pipenv run twine upload $(output)
Expand Down
2 changes: 1 addition & 1 deletion nlbsg/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# generated
__version__ = 'HEAD'
__version__ = "HEAD"

0 comments on commit 926c34c

Please sign in to comment.