diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 848e5e20d..589612ca7 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -73,7 +73,6 @@ jobs: name: wheel-wasm path: './wheelhouse/sourmash*.whl' - release: name: Publish wheels runs-on: ubuntu-20.04 @@ -88,9 +87,8 @@ jobs: path: 'wheels/' # 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@v2 + with: + files: | + ${{steps.fetch_artifacts.outputs.download-path}}/wheel-*/* diff --git a/.github/workflows/build_wheel_all_archs.yml b/.github/workflows/build_wheel_all_archs.yml index cdb0038df..4e6a37406 100644 --- a/.github/workflows/build_wheel_all_archs.yml +++ b/.github/workflows/build_wheel_all_archs.yml @@ -80,9 +80,8 @@ jobs: path: 'wheels/' # 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@v2 + with: + files: | + ${{steps.fetch_artifacts.outputs.download-path}}/wheel-*/* diff --git a/doc/release.md b/doc/release.md index f3f19dcec..982f24d26 100644 --- a/doc/release.md +++ b/doc/release.md @@ -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: