Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
endomorphosis committed Jul 24, 2024
1 parent 810247b commit 388282a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 38 deletions.
37 changes: 1 addition & 36 deletions .github/workflows/publish_to_pipy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,39 +50,4 @@ jobs:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

github-release:
name: Sign the Python 🐍 distribution 📦 with Sigstore and upload them to GitHub Release
needs: publish-to-pypi
runs-on: ubuntu-latest
permissions:
contents: write # IMPORTANT: mandatory for making GitHub Releases
id-token: write # IMPORTANT: mandatory for sigstore
steps:
- name: Download all the dists
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >-
gh release create
'${{ github.ref_name }}'
--repo '${{ github.repository }}'
--notes ""
- name: Upload artifact signatures to GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >-
gh release upload
'${{ github.ref_name }}' dist/**
--repo '${{ github.repository }}'
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "ipfs_datasets"
version = "0.0.3"
version = "0.0.4"
authors = [
{ name="Benjamin Barber", email="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="ipfs_datasets",
version='0.0.3',
version='0.0.4',
packages=[
'ipfs_datasets'
],
Expand Down

0 comments on commit 388282a

Please sign in to comment.