Skip to content

Commit e1f7a91

Browse files
authored
fix: remove extra lines from release (#2238) (#2250)
Signed-off-by: matttrach <matt.trachier@suse.com>
1 parent 05a13f3 commit e1f7a91

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
@@ -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}"

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)