release ci: strip "v" prefix from sigstore file

This commit is contained in:
Maximilian Hils 2024-06-18 19:07:35 +02:00 committed by GitHub
parent 95bf441bc3
commit fc24f85929
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -312,7 +312,9 @@ jobs:
uses: actions/attest-build-provenance@v1 uses: actions/attest-build-provenance@v1
with: with:
subject-path: 'release/dist/*' subject-path: 'release/dist/*'
- run: mv ${{ steps.provenance.outputs.bundle-path }} release/dist/mitmproxy-${{ github.ref_name }}.sigstore - run: |
REF=${{ github.ref_name }}
mv ${{ steps.provenance.outputs.bundle-path }} release/dist/mitmproxy-${REF#v}.sigstore
- run: ls docs/public - run: ls docs/public
- run: ls release/dist - run: ls release/dist