Skip to content

Commit

Permalink
Debug double release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Aug 1, 2024
1 parent a635c57 commit fe0dc93
Showing 1 changed file with 22 additions and 27 deletions.
49 changes: 22 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,30 +59,25 @@ jobs:
base64-subjects: "${{ needs.build.outputs.hashes }}"
upload-assets: true

create-github-release:
# Upload the sdist, wheels, and provenance to a GitHub release. They remain
# available as build artifacts for a while as well.
name: "Create GitHub release"
needs: [ provenance ]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Checkout repository"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0

- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7

- name: Create a GitHub release
run: >
gh release create "${{ github.ref_name }}" \
dist/* \
--repo "${{ github.repository }}" \
--title "${{ github.ref_name }}" \
--draft \
--verify-tag \
--generate-notes
env:
GH_TOKEN: ${{ github.token }}
# create-github-release:
# # Upload the sdist, wheels, and provenance to a GitHub release. They remain
# # available as build artifacts for a while as well.
# name: "Create GitHub release"
# needs: [ provenance ]
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
#
# - name: Create a GitHub release
# run: >
# gh release create "${{ github.ref_name }}" \
# dist/* \
# --repo "${{ github.repository }}" \
# --title "${{ github.ref_name }}" \
# --draft \
# --verify-tag \
# --generate-notes
# env:
# GH_TOKEN: ${{ github.token }}

0 comments on commit fe0dc93

Please sign in to comment.