Skip to content

Commit 9412a32

Browse files
authored
fix: remove extra lines from release (#2238) (#2251)
Signed-off-by: matttrach <matt.trachier@suse.com>
1 parent e19a817 commit 9412a32

4 files changed

Lines changed: 3 additions & 43 deletions

File tree

.github/workflows/manual-rc-release.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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:

.github/workflows/manual-release.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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}"

.github/workflows/release.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -415,16 +415,6 @@ jobs:
415415
GPG_PASSPHRASE: ${{ env.GPG_PASSPHRASE }}
416416
run: |-
417417
goreleaser release --clean --config .goreleaser_rc.yml
418-
if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
419-
echo "Missing required file: dist/metadata.json"
420-
exit 1
421-
fi
422-
if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
423-
echo "Missing required file: dist/artifacts.json"
424-
exit 1
425-
fi
426-
echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
427-
echo "artifacts=$(tr -d '\n\r' < dist/artifacts.json)" >> "${GITHUB_OUTPUT}"
428418
- name: 'Find Issues and Create Comments'
429419
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 https://github.com/actions/github-script
430420
env:
@@ -501,13 +491,3 @@ jobs:
501491
GPG_PASSPHRASE: ${{ env.GPG_PASSPHRASE }}
502492
run: |-
503493
goreleaser release --clean --config .goreleaser.yml
504-
if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
505-
echo "Missing required file: dist/metadata.json"
506-
exit 1
507-
fi
508-
if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
509-
echo "Missing required file: dist/artifacts.json"
510-
exit 1
511-
fi
512-
echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
513-
echo "artifacts=$(tr -d '\n\r' < dist/artifacts.json)" >> "${GITHUB_OUTPUT}"

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)