update gitignore and workflow

This commit is contained in:
duncathan 2021-12-01 01:28:14 -06:00
parent e38dcdb197
commit a344869392
2 changed files with 10 additions and 1 deletions

View File

@ -59,7 +59,7 @@ jobs:
repository_url: https://test.pypi.org/legacy/
- name: Publish 📦 to PyPI
if: ${{ startsWith(github.ref, 'refs/tags/') }}
if: ${{ startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, 'patcher') }}
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}

9
.gitignore vendored
View File

@ -10,3 +10,12 @@ pre-edited-cs/window\.rect
*Copy/
venv/
build/
dist/
cave_story_randomizer.egg-info/
*/__pycache__
caver/version.py