Skip to content

Commit 7892188

Browse files
authored
fix: Backport 2238 v15 (#2247)
Signed-off-by: matttrach <matt.trachier@suse.com>
1 parent 46ef025 commit 7892188

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
@@ -425,16 +425,6 @@ jobs:
425425
GPG_PASSPHRASE: ${{ env.GPG_PASSPHRASE }}
426426
run: |-
427427
goreleaser release --clean --config .goreleaser_rc.yml
428-
if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
429-
echo "Missing required file: dist/metadata.json"
430-
exit 1
431-
fi
432-
if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
433-
echo "Missing required file: dist/artifacts.json"
434-
exit 1
435-
fi
436-
echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
437-
echo "artifacts=$(tr -d '\n\r' < dist/artifacts.json)" >> "${GITHUB_OUTPUT}"
438428
- name: 'Find Issues and Create Comments'
439429
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 https://github.com/actions/github-script
440430
env:
@@ -509,13 +499,3 @@ jobs:
509499
GPG_PASSPHRASE: ${{ env.GPG_PASSPHRASE }}
510500
run: |-
511501
goreleaser release --clean --config .goreleaser.yml
512-
if [[ ! -f dist/metadata.json ]] || [[ ! -s dist/metadata.json ]]; then
513-
echo "Missing required file: dist/metadata.json"
514-
exit 1
515-
fi
516-
if [[ ! -f dist/artifacts.json ]] || [[ ! -s dist/artifacts.json ]]; then
517-
echo "Missing required file: dist/artifacts.json"
518-
exit 1
519-
fi
520-
echo "metadata=$(tr -d '\n\r' < dist/metadata.json)" >> "${GITHUB_OUTPUT}"
521-
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)