Skip to content

Commit

Permalink
replace release upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Jul 31, 2024
1 parent 90277fb commit 4a9fc1e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
name: wheel-wasm
path: './wheelhouse/sourmash*.whl'


release:
name: Publish wheels
runs-on: ubuntu-20.04
Expand All @@ -87,10 +86,13 @@ jobs:
with:
path: 'wheels/'

- run: |
ls -lah ${{steps.fetch_artifacts.outputs.download-path}}/wheel-*/*
ls -lah ${{steps.fetch_artifacts.outputs.download-path}}/
# if it matches a Python release tag, upload to github releases
# TODO: In the future, use the create-release and upload-release-assets actions
- name: Release
uses: fnkr/github-action-ghr@v1
env:
GHR_PATH: ${{steps.fetch_artifacts.outputs.download-path}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release
with:
files: |
${{steps.fetch_artifacts.outputs.download-path}}/wheel-*/*
4 changes: 2 additions & 2 deletions doc/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ Once the checks for the PR work, let's trigger the automatic wheel building
by creating a tag:

```
git tag -a v${new_version}${rc} -m "${new_version} release candidate ${rc}"
git push origin refs/tags/v${new_version}${rc}
git tag -a v${new_version}rc${rc} -m "${new_version} release candidate ${rc}"
git push origin refs/tags/v${new_version}rc${rc}
```

3\. Test the release candidate. Bonus: repeat on macOS:
Expand Down

0 comments on commit 4a9fc1e

Please sign in to comment.