Skip to content

Commit

Permalink
Add pypi release make command, bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
xylix committed Jun 18, 2020
1 parent c3b89d2 commit 6ed6bc1
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Browser/wrapper/package.json
.idea
.mypy_cache
__pycache__
robotframework_playwright.egg-info
robotframework_browser.egg-info/
.venv

# Robot Framework outputs
Expand All @@ -16,3 +16,4 @@ playwright-log.txt

node_modules/
dist
build
6 changes: 6 additions & 0 deletions .pypirc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[distutils]
index-servers =
pypi

[pypi]
repository: https://pypi.org/project/robotframework-browser/
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ build:
./generategrpc.sh
yarn build
cp package.json Browser/wrapper

release:
.venv/bin/python setup.py sdist bdist_wheel
python3 -m twine upload --repository pypi dist/*
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "robotframework-playwright",
"version": "0.0.1",
"version": "0.1.0",
"main": "index.ts",
"author": "Mikko Korpela <[email protected]>",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setup_kwargs = {
'name': 'robotframework-browser',
'version': '0.0.1',
'version': '0.1.0',
'description': '',
'long_description': long_description,
'long_description_content_type': 'text/markdown',
Expand Down

0 comments on commit 6ed6bc1

Please sign in to comment.