File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 5757 with :
5858 ref : ${{ inputs.tag }}
5959 path : ${{ github.workspace }}/tags/${{ inputs.tag }}
60+ - run : |
61+ # remove any tags that are not the one specified (to avoid goreleaser confusion)
62+ DIR="$(pwd)"
63+ cd "${{ github.workspace }}/tags/${{ inputs.tag }}"
64+ git tag | grep -v -e "^${{ inputs.tag }}$" | xargs git tag -d
65+ cd "$DIR"
6066 - name : retrieve GPG Credentials
6167 id : retrieve-gpg-credentials
6268 uses : rancher-eio/read-vault-secrets@main
Original file line number Diff line number Diff line change 5757 path : ${{ github.workspace }}/tags/${{ inputs.tag }}
5858 - run : |
5959 # remove any tags that are not the one specified (to avoid goreleaser confusion)
60+ DIR="$(pwd)"
6061 cd "${{ github.workspace }}/tags/${{ inputs.tag }}"
61- git tag | grep -v " ${{ inputs.tag }}" | xargs git tag -d
62- cd ../../
62+ git tag | grep -v -e "^ ${{ inputs.tag }}$ " | xargs git tag -d
63+ cd "$DIR"
6364 - name : retrieve GPG Credentials
6465 id : retrieve-gpg-credentials
6566 uses : rancher-eio/read-vault-secrets@main
You can’t perform that action at this time.
0 commit comments