We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0b2c13 commit 790e8f7Copy full SHA for 790e8f7
.github/workflows/publish.yml
@@ -1,8 +1,10 @@
1
name: Publish Python 🐍 distributions 📦 to PyPI
2
3
+# Publish to Test PyPI in case of pushing into the master
4
+# Publish to PyPI in case of releasing
5
+
6
on:
7
push:
- branches: [ master ]
8
9
jobs:
10
build-n-publish:
@@ -22,6 +24,7 @@ jobs:
22
24
run: |
23
25
python -m build --sdist --wheel --outdir dist/ .
26
- name: Publish distribution 📦 to Test PyPI
27
+ if: github.ref == 'refs/heads/master'
28
uses: pypa/gh-action-pypi-publish@master
29
with:
30
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
setup.py
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages
-VERSION = "0.0.1"
+VERSION = "0.0.2"
with open("README.md") as readme_file:
readme = readme_file.read()
0 commit comments