Skip to content

Commit b835abb

Browse files
authored
fix: include assets in release (#109)
* fix: include assets in release Signed-off-by: Skye Gill <[email protected]> * include release tag name in release action Signed-off-by: Skye Gill <[email protected]> * remove unneeded release.yaml workflow Signed-off-by: Skye Gill <[email protected]> * checkout release version Signed-off-by: Skye Gill <[email protected]> Signed-off-by: Skye Gill <[email protected]>
1 parent e13512a commit b835abb

File tree

3 files changed

+32
-41
lines changed

3 files changed

+32
-41
lines changed

.github/workflows/release-please.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,35 @@ jobs:
1616
command: manifest
1717
token: ${{secrets.GITHUB_TOKEN}}
1818
default-branch: main
19+
outputs:
20+
release_created: ${{ steps.release.outputs.release_created }}
21+
release_tag_name: ${{ steps.release.outputs.tag_name }}
22+
23+
release-assets:
24+
needs: release-please
25+
runs-on: ubuntu-latest
26+
if: ${{ needs.release-please.outputs.release_created }}
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v2
30+
with:
31+
ref: ${{ needs.release-please.outputs.release_tag_name }}
32+
33+
- name: Setup go
34+
uses: actions/setup-go@v3
35+
with:
36+
go-version: '1.17.11'
37+
- run: |
38+
make update-flagd
39+
go mod tidy
40+
make controller-gen
41+
IMG=ghcr.io/open-feature/open-feature-operator:${{ needs.release-please.outputs.release_tag_name }} make release-manifests
42+
43+
- name: Release
44+
uses: softprops/action-gh-release@v1
45+
with:
46+
tag_name: ${{ needs.release-please.outputs.release_tag_name }}
47+
files: |
48+
config/webhook/certificate.yaml
49+
config/rendered/release.yaml
50+
config/samples/end-to-end.yaml

.github/workflows/release.yaml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.gitmodules

Whitespace-only changes.

0 commit comments

Comments
 (0)