Skip to content

Commit 4e3a7bd

Browse files
committed
fix release publish
1 parent e22d904 commit 4e3a7bd

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ jobs:
7777
if: startsWith(github.ref, 'refs/tags/v')
7878
run: |
7979
mkdir -p config/release
80-
kustomize build ./config/crd > ./config/release/${{ env.APP }}.crds.yaml
81-
kustomize build ./config/manager > ./config/release/${{ env.APP }}.deployment.yaml
82-
echo '[CHANGELOG](https://github.com/raffis/${{ env.APP }}/blob/master/CHANGELOG.md)' > ./config/release/notes.md
80+
kustomize build ./deploy/exporter > ./deploy/release/${{ env.APP }}.deployment.yaml
81+
echo '[CHANGELOG](https://github.com/raffis/${{ env.APP }}/blob/master/CHANGELOG.md)' > ./deploy/release/notes.md
8382
- uses: anchore/sbom-action/download-syft@v0
8483
- name: Create release and SBOM
8584
if: startsWith(github.ref, 'refs/tags/v')

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ builds:
55

66
release:
77
extra_files:
8-
- glob: config/release/*.yaml
8+
- glob: deploy/release/*.yaml
99

1010
checksum:
1111
extra_files:
12-
- glob: config/release/*.yaml
12+
- glob: deploy/release/*.yaml
1313

1414
source:
1515
enabled: true

0 commit comments

Comments
 (0)