Skip to content

Commit 85458d1

Browse files
authored
Merge pull request #2 from openpaygo/fix-ci
Fix CI
2 parents fd109f4 + 85d706c commit 85458d1

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: push
44
jobs:
55
pypi-publish:
66
name: Upload release to PyPI
7-
if: github.ref == 'refs/heads/master' # On main only
7+
if: startsWith(github.ref, 'refs/tags/v') # On tagged release only
88
runs-on: ubuntu-latest
99
environment:
1010
name: pypi

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,5 +148,6 @@ elif token_type == TokenType.INVALID:
148148

149149
## Changelog
150150

151-
### 2023-10-03 - v0.1.2
152-
- First working version published on PyPi
151+
### 2023-10-03 - v0.1.3
152+
- First working version published on PyPI
153+
- Setup CI for pushing to PyPI

0 commit comments

Comments
 (0)