Skip to content

Latest commit

 

History

History
78 lines (59 loc) · 2.64 KB

README-DEV.md

File metadata and controls

78 lines (59 loc) · 2.64 KB

Workflows

Workflows take care of (todo update):

Use actionlint from test mirror

Specify precise version of use --pre, or both :)

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ --pre actionlint-py==1.6.25.3.dev6

Change actionlint version

All details about actionlint source (and checksums) are stored in setup.cfg. The script setup_auto_update.py scraps the release page of actionlint and sets the checksums to the newest release. It is not great quality script, but it works. Just run:

python auto_update_main.py

Manual release

https://test.pypi.org/manage/project/actionlint-py/releases/

https://pypi.org/manage/project/actionlint-py/releases/

Install dependencies:

pip install --upgrade build twine

Build and check:

# python .\setup.py sdist bdist_wheel # deprecated
# python -c "from setuptools import setup; setup()" build # deprecated
python -m build
python -m twine check .\dist\*

If using token, create file .pypirc:

[pypi]
username = __token__
password = <PyPI token>

Provide file or insert creds when prompted:

python -m twine upload .\dist\* # --config-file .pypirc