Skip to content

Commit c11ffdf

Browse files
committed
update workflows for release, bump xircuits version
1 parent 85e98b7 commit c11ffdf

File tree

4 files changed

+11
-43
lines changed

4 files changed

+11
-43
lines changed

.github/workflows/build-python-wheel.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,4 @@ jobs:
6363
uses: actions/upload-artifact@v3
6464
with:
6565
name: xircuits-wheel-${{ env.branch_name }}-${{ env.git_hash }}
66-
path: dist
67-
68-
- name: Upload Wheel Artifact
69-
uses: actions/upload-artifact@v3
70-
with:
71-
name: xircuits-wheel-${{ env.branch_name }}-${{ env.git_hash }}.whl
72-
path: dist/*.whl
66+
path: dist

.github/workflows/publish-release.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish to PyPI
1+
name: Publish to PyPI and Github Release
22

33
on:
44
release:
@@ -52,3 +52,11 @@ jobs:
5252
run: |
5353
pip install twine
5454
twine upload dist/*
55+
56+
- name: Publish to GitHub Releases
57+
uses: softprops/action-gh-release@v1
58+
with:
59+
files: |
60+
dist/*
61+
env:
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

xircuits/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (1, 8, 1)
1+
version_info = (1, 8, 2)
22
__version__ = ".".join(map(str, version_info))

0 commit comments

Comments
 (0)