Skip to content

Commit 6968b8d

Browse files
authored
chore: Fix operator release workflow (feast-dev#4936)
fix operator release workflow Signed-off-by: Tommy Hughes <[email protected]>
1 parent 02b0a68 commit 6968b8d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ jobs:
9393
with:
9494
go-version: 1.22.9
9595
- name: Build & version operator-specific release files
96-
run: |
97-
cd infra/feast-operator/
98-
make build-installer bundle
96+
run: make -C infra/feast-operator build-installer bundle
9997

10098
publish-web-ui-npm:
10199
needs: [ validate_version_bumps, get_dry_release_versions ]
@@ -152,6 +150,10 @@ jobs:
152150
- name: Setup Helm-docs
153151
run: |
154152
brew install norwoodj/tap/helm-docs
153+
- name: Install Go
154+
uses: actions/setup-go@v2
155+
with:
156+
go-version: 1.22.9
155157
- name: Release (Dry Run)
156158
if: github.event.inputs.dry_run == 'true'
157159
run: |

.releaserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = {
4141
"verifyReleaseCmd": "./infra/scripts/validate-release.sh ${nextRelease.type} " + current_branch,
4242

4343
// Bump all version files and build UI / update yarn.lock / helm charts
44-
"prepareCmd": "python ./infra/scripts/release/bump_file_versions.py ${lastRelease.version} ${nextRelease.version}; make build-ui; make build-helm-docs"
44+
"prepareCmd": "python ./infra/scripts/release/bump_file_versions.py ${lastRelease.version} ${nextRelease.version}; make build-ui; make build-helm-docs; make -C infra/feast-operator build-installer bundle"
4545
}],
4646

4747
["@semantic-release/release-notes-generator", {

0 commit comments

Comments
 (0)