File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,16 +136,6 @@ jobs:
136136 run : |-
137137 cd ${{ github.workspace }}/tags/$TAG
138138 goreleaser release --clean --skip=validate --config ../../.goreleaser_rc.yml
139- if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
140- echo "Missing required file: dist/metadata.json"
141- exit 1
142- fi
143- if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
144- echo "Missing required file: dist/artifacts.json"
145- exit 1
146- fi
147- echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
148- echo "artifacts=$(tr -d '\n\r' < dist/artifacts.json)" >> "${GITHUB_OUTPUT}"
149139 - name : ' Find Issues and Create Comments'
150140 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 https://github.com/actions/github-script
151141 env :
Original file line number Diff line number Diff line change @@ -129,13 +129,3 @@ jobs:
129129 run : |-
130130 cd ${{ github.workspace }}/tags/$TAG
131131 goreleaser release --clean --skip=validate --config ../../.goreleaser.yml
132- if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
133- echo "Missing required file: dist/metadata.json"
134- exit 1
135- fi
136- if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
137- echo "Missing required file: dist/artifacts.json"
138- exit 1
139- fi
140- echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
141- echo "artifacts=$(tr -d '\n\r' < dist/artifacts.json)" >> "${GITHUB_OUTPUT}"
Original file line number Diff line number Diff line change @@ -419,16 +419,6 @@ jobs:
419419 GPG_PASSPHRASE : ${{ env.GPG_PASSPHRASE }}
420420 run : |-
421421 goreleaser release --clean --config .goreleaser_rc.yml
422- if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
423- echo "Missing required file: dist/metadata.json"
424- exit 1
425- fi
426- if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
427- echo "Missing required file: dist/artifacts.json"
428- exit 1
429- fi
430- echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
431- echo "artifacts=$(tr -d '\n\r' < dist/artifacts.json)" >> "${GITHUB_OUTPUT}"
432422 - name : ' Find Issues and Create Comments'
433423 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 https://github.com/actions/github-script
434424 env :
@@ -502,13 +492,3 @@ jobs:
502492 GPG_PASSPHRASE : ${{ env.GPG_PASSPHRASE }}
503493 run : |-
504494 goreleaser release --clean --config .goreleaser.yml
505- if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
506- echo "Missing required file: dist/metadata.json"
507- exit 1
508- fi
509- if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
510- echo "Missing required file: dist/artifacts.json"
511- exit 1
512- fi
513- echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
514- echo "artifacts=$(tr -d '\n\r' < dist/artifacts.json)" >> "${GITHUB_OUTPUT}"
You can’t perform that action at this time.
0 commit comments