Skip to content

Commit 947236e

Browse files
authored
Feature logging (#4)
* logging, error handling, comments * bump version * missing build dependency * trigger build in PR and publish in master * version handling * missing dependency * use master * bump version
1 parent 928e487 commit 947236e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/publish-to-pypi.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,11 @@ jobs:
7474
twine upload dist/*
7575
7676
- name: Create Git tag
77+
env:
78+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7779
run: |
78-
git config user.name "GitHub Actions"
79-
git config user.email "[email protected]"
80+
git config --global user.name "GitHub Actions"
81+
git config --global user.email "[email protected]"
82+
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}
8083
git tag -a v${{ env.VERSION }} -m "Release version ${{ env.VERSION }}"
81-
git push origin v${{ env.VERSION }}
84+
git push origin v${{ env.VERSION }}

version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# version.py
2-
__version__ = "0.2.0"
2+
__version__ = "0.3.0"

0 commit comments

Comments
 (0)