Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
glicht committed Oct 7, 2020
1 parent 903f2a7 commit 76cf690
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[1]: https://pypi.org/project/demisto-py/#history

## 2.0.17
## 2.0.19
* Support `import_layout` to upload the new layout version(layoutscontainer).
* Fixed `import_layout` when uploading an old layout version.
* Removed testing with Python 3.6 and added testing with Python 3.8.
Expand Down
5 changes: 3 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
set -e

function deploy_to_pypi () {
pip2 install twine wheel
python2 setup.py sdist bdist_wheel
git checkout .
pip3 install twine wheel
python3 setup.py sdist bdist_wheel
TWINE_USERNAME=__token__ twine upload dist/*
}

Expand Down

0 comments on commit 76cf690

Please sign in to comment.