Skip to content

Commit d80fb5b

Browse files
authored
Fix rc.0 publish (#8782)
Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
1 parent a3b541c commit d80fb5b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ jobs:
118118
run: make image.multiarch.setup image.push.multiarch TAG=${{ env.release_tag }} IMAGE=docker.io/envoyproxy/gateway
119119

120120
- name: Generate Release Artifacts
121+
# rc.0 tags ship no release notes, so generate-artifacts would fail on the missing file.
122+
# These artifacts only feed the GitHub Release upload below, which is also skipped for rc.0.
123+
if: ${{ !contains(github.ref, '-rc.0') }}
121124
run: IMAGE_PULL_POLICY=IfNotPresent make generate-artifacts IMAGE=envoyproxy/gateway TAG=${{ env.release_tag }} OUTPUT_DIR=release-artifacts
122125

123126
- name: Build and Push EG Release Helm Chart
@@ -142,6 +145,7 @@ jobs:
142145
cd release-artifacts && unzip benchmark_report.zip
143146
144147
- name: Package EG multiarch binaries
148+
if: ${{ !contains(github.ref, '-rc.0') }}
145149
run: |
146150
tar -zcvf envoy-gateway_${{ env.release_tag }}_linux_amd64.tar.gz bin/linux/amd64/envoy-gateway
147151
tar -zcvf envoy-gateway_${{ env.release_tag }}_linux_arm64.tar.gz bin/linux/arm64/envoy-gateway

0 commit comments

Comments
 (0)