-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pypi release workflow with github actions (#70)
- Loading branch information
Showing
10 changed files
with
43 additions
and
60 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Upload xiblint to pypi | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
- name: Install pypa/build | ||
run: python3 -m pip install build --user | ||
- name: Build a binary wheel and a source tarball | ||
run: python3 -m build --sdist --wheel --outdir dist/ . | ||
- name: Push to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.9.6 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
[metadata] | ||
name = xiblint | ||
version = attr: xiblint.__version__ | ||
description = Checks .xib and .storyboard files for compliance with best practices | ||
long_description = Checks .xib and .storyboard files for compliance with best practices | ||
license = apache2 | ||
url = https://github.com/lyft/xiblint | ||
author = Ilya Konstantinov | ||
author_email = [email protected] | ||
|
||
[options] | ||
install_requires = defusedxml>=0.5.0 | ||
packages = find: | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
xiblint=xiblint.__main__:main | ||
|
||
[flake8] | ||
format = pylint | ||
exclude = .svc,CVS,.bzr,.hg,.git,__pycache__,venv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,2 @@ | ||
from setuptools import setup, find_packages | ||
import xiblint | ||
|
||
setup( | ||
name='xiblint', | ||
version=xiblint.__version__, | ||
description='Checks .xib and .storyboard files for compliance with best practices', | ||
license='apache2', | ||
url='https://github.com/lyft/xiblint', | ||
author='Ilya Konstantinov', | ||
author_email='[email protected]', | ||
install_requires=[ | ||
'defusedxml>=0.5.0', | ||
], | ||
packages=find_packages(), | ||
entry_points={'console_scripts': ['xiblint=xiblint.__main__:main']}, | ||
) | ||
from setuptools import setup | ||
setup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.10.3' | ||
__version__ = '0.10.4' |