Skip to content

Commit

Permalink
Merge pull request #78 from jd/fix-workflow
Browse files Browse the repository at this point in the history
ci: do not tag releases in the CI
  • Loading branch information
mergify[bot] authored Nov 2, 2023
2 parents 8382335 + 8f30af1 commit eb51c60
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: upload release to PyPI
on:
workflow_dispatch:
release:
- published

jobs:
pypi-publish:
Expand All @@ -20,15 +21,6 @@ jobs:
with:
python-version: 3.12

- name: Install deps
run: pip install build setuptools_scm

- name: Tag the release
run: |
tag="$(python3 -m setuptools_scm --strip-dev)"
git tag "$tag"
git push origin "$tag"
- name: Build the packages distributions
run: |
python3 -m build . --wheel --sdist
Expand Down

0 comments on commit eb51c60

Please sign in to comment.