File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,16 +137,6 @@ jobs:
137137 run : |-
138138 cd ${{ github.workspace }}/tags/$TAG
139139 goreleaser release --clean --skip=validate --config ../../.goreleaser_rc.yml
140- if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
141- echo "Missing required file: dist/metadata.json"
142- exit 1
143- fi
144- if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
145- echo "Missing required file: dist/artifacts.json"
146- exit 1
147- fi
148- echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
149- echo "artifacts=$(tr -d '\n\r' < dist/artifacts.json)" >> "${GITHUB_OUTPUT}"
150140 - name : ' Find Issues and Create Comments'
151141 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 https://github.com/actions/github-script
152142 env :
Original file line number Diff line number Diff line change @@ -130,13 +130,3 @@ jobs:
130130 run : |-
131131 cd ${{ github.workspace }}/tags/$TAG
132132 goreleaser release --clean --skip=validate --config ../../.goreleaser.yml
133- if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
134- echo "Missing required file: dist/metadata.json"
135- exit 1
136- fi
137- if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
138- echo "Missing required file: dist/artifacts.json"
139- exit 1
140- fi
141- echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
142- 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 :
@@ -503,13 +493,3 @@ jobs:
503493 GPG_PASSPHRASE : ${{ env.GPG_PASSPHRASE }}
504494 run : |-
505495 goreleaser release --clean --config .goreleaser.yml
506- if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
507- echo "Missing required file: dist/metadata.json"
508- exit 1
509- fi
510- if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
511- echo "Missing required file: dist/artifacts.json"
512- exit 1
513- fi
514- echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
515- echo "artifacts=$(tr -d '\n\r' < dist/artifacts.json)" >> "${GITHUB_OUTPUT}"
You can’t perform that action at this time.
0 commit comments