Skip to content

Commit

Permalink
Add a publish into makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
hengfengli committed Nov 13, 2018
1 parent 1c04528 commit 54f89bd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,5 @@ Documentation/

.pytest_cache/

.idea/
.idea/
twine.env
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ build:

dist: clean-dist build

publish: dist
sh publish.sh

lint:
flake8
5 changes: 5 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

export $(cat twine.env | xargs)

twine upload dist/*

0 comments on commit 54f89bd

Please sign in to comment.