Skip to content

Commit

Permalink
fix: include assets in release (#109)
Browse files Browse the repository at this point in the history
* fix: include assets in release

Signed-off-by: Skye Gill <gill.skye95@gmail.com>

* include release tag name in release action

Signed-off-by: Skye Gill <gill.skye95@gmail.com>

* remove unneeded release.yaml workflow

Signed-off-by: Skye Gill <gill.skye95@gmail.com>

* checkout release version

Signed-off-by: Skye Gill <gill.skye95@gmail.com>

Signed-off-by: Skye Gill <gill.skye95@gmail.com>
  • Loading branch information
skyerus committed Oct 13, 2022
1 parent e13512a commit b835abb
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 41 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,35 @@ jobs:
command: manifest
token: ${{secrets.GITHUB_TOKEN}}
default-branch: main
outputs:
release_created: ${{ steps.release.outputs.release_created }}
release_tag_name: ${{ steps.release.outputs.tag_name }}

release-assets:
needs: release-please
runs-on: ubuntu-latest
if: ${{ needs.release-please.outputs.release_created }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ needs.release-please.outputs.release_tag_name }}

- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.17.11'
- run: |
make update-flagd
go mod tidy
make controller-gen
IMG=ghcr.io/open-feature/open-feature-operator:${{ needs.release-please.outputs.release_tag_name }} make release-manifests
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ needs.release-please.outputs.release_tag_name }}
files: |
config/webhook/certificate.yaml
config/rendered/release.yaml
config/samples/end-to-end.yaml
41 changes: 0 additions & 41 deletions .github/workflows/release.yaml

This file was deleted.

Empty file removed .gitmodules
Empty file.

0 comments on commit b835abb

Please sign in to comment.