Skip to content

Commit 2665e33

Browse files
committed
Revert "Upload NGINX Ingress Controller binaries to release (#2044)"
This reverts commit 26715f7.
1 parent 7b3900c commit 2665e33

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

Diff for: .github/workflows/ci.yml

+14-8
Original file line numberDiff line numberDiff line change
@@ -273,18 +273,11 @@ jobs:
273273
uses: actions/setup-go@v2
274274
with:
275275
go-version: ${{ needs.checks.outputs.go_version }}
276-
- name: Publish Release Notes on new tag
277-
uses: release-drafter/release-drafter@v5
278-
with:
279-
publish: true
280-
env:
281-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
282-
if: ${{ startsWith(github.ref, 'refs/tags/') }}
283276
- name: Build binaries
284277
uses: goreleaser/goreleaser-action@v2
285278
with:
286279
version: latest
287-
args: ${{ !startsWith(github.ref, 'refs/tags/') && 'build --snapshot' || 'release' }} ${{ github.event_name == 'pull_request' && '--single-target' || '' }} --rm-dist ${{ !startsWith(github.ref, 'refs/tags/') && '--id kubernetes-ingress' || '' }}
280+
args: build --rm-dist --id kubernetes-ingress ${{ github.event_name == 'pull_request' && '--single-target' || '' }} ${{ !startsWith(github.ref, 'refs/tags/') && '--snapshot' || '' }}
288281
env:
289282
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
290283
GOPATH: ${{ needs.check.outputs.go_path }}
@@ -471,3 +464,16 @@ jobs:
471464
git -c user.name='${{ env.GIT_NAME }}' -c user.email='${{ env.GIT_MAIL }}' \
472465
commit -m "NGINX Ingress Controller - Release ${{ needs.package-helm.outputs.type }} ${{ needs.package-helm.outputs.version }}"
473466
git push -u origin master
467+
468+
publish-release-notes:
469+
name: Publish Release Notes
470+
runs-on: ubuntu-20.04
471+
needs: release-helm
472+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
473+
steps:
474+
- name: Publish Release Notes
475+
uses: release-drafter/release-drafter@v5
476+
with:
477+
publish: true
478+
env:
479+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Diff for: .goreleaser.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ builds:
3838
tags:
3939
- aws
4040
archives:
41-
- id: kubernetes-ingress
42-
format: binary
43-
builds: [kubernetes-ingress]
44-
- id: aws
45-
format: binary
46-
builds: [aws]
41+
- format: binary
4742
changelog:
4843
skip: true
49-
release:
50-
ids: [kubernetes-ingress]

0 commit comments

Comments
 (0)