From fc24f85929db05b615f5fb6f028a10388dd54de9 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 18 Jun 2024 19:07:35 +0200 Subject: [PATCH] release ci: strip "v" prefix from sigstore file --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d870dcf2f..64d6d0664 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -312,7 +312,9 @@ jobs: uses: actions/attest-build-provenance@v1 with: 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 release/dist