From a34486939223d2ce6e7307897e226cdc370afc17 Mon Sep 17 00:00:00 2001 From: duncathan Date: Wed, 1 Dec 2021 01:28:14 -0600 Subject: [PATCH] update gitignore and workflow --- .github/workflows/python.yml | 2 +- .gitignore | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 84cd4d0..8d8cf38 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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 }} diff --git a/.gitignore b/.gitignore index 67eaeb6..b394d0c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,12 @@ pre-edited-cs/window\.rect *Copy/ venv/ + +build/ + +dist/ + +cave_story_randomizer.egg-info/ + +*/__pycache__ +caver/version.py