Skip to content

Commit 34fbb68

Browse files
authored
Feature/release workflow (#37)
* Update release.yaml * Update release.yaml * Update release.yaml * Update release.yaml * Update release.yaml
1 parent a03cf70 commit 34fbb68

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: release
22

33
on:
44
push:
5+
branches:
6+
- feature/release-workflow
57
tags:
68
- "v*.*.*"
79
env:
@@ -14,18 +16,21 @@ jobs:
1416
steps:
1517
- name: Checkout
1618
uses: actions/checkout@v2
19+
with:
20+
submodules: recursive
1721

1822
- name: Get the version
1923
id: get_version
2024
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
2125

2226
- uses: actions/setup-go@v3
2327
with:
24-
go-version: '>=1.17.0'
28+
go-version: '1.17.11'
2529
- run: |
30+
go mod tidy
31+
cp schemas/json-schema/flagd-definitions.json pkg/utils/flagd-definitions.json
2632
make controller-gen
27-
export PATH=$PATH:$GOPATH/bin
28-
IMG=ghcr.io/open-feature/open-feature-operator:${{ steps.get_version.outputs.VERSION }} make release-manifests
33+
IMG=ghcr.io/open-feature/open-feature-operator:${GITHUB_REF#refs/*/} make release-manifests
2934
3035
- name: Release
3136
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)