From d4d07db034358a091caa5a1712c8c0eaa56d0c24 Mon Sep 17 00:00:00 2001 From: Tommy Hughes Date: Tue, 4 Feb 2025 11:24:41 -0600 Subject: [PATCH 1/3] ignore infra/feast-operator/bin during release Signed-off-by: Tommy Hughes --- .releaserc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.releaserc.js b/.releaserc.js index dbd15e263f..fe57ed5fc1 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -68,7 +68,7 @@ module.exports = { "infra/charts/**/*.*", "infra/feast-helm-operator/**/*", "infra/feast-operator/**/*", - "!infra/feast-operator/bin/", + "!infra/feast-operator/bin/**/*", "ui/package.json", "sdk/python/feast/ui/package.json", "sdk/python/feast/ui/yarn.lock" From 9cf1762c4b947980a2ff809d43f077c97ab6acf1 Mon Sep 17 00:00:00 2001 From: Tommy Hughes Date: Tue, 4 Feb 2025 11:50:16 -0600 Subject: [PATCH 2/3] cleanup infra/feast-operator/bin during release Signed-off-by: Tommy Hughes --- .github/workflows/release.yml | 4 +++- .releaserc.js | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfb5e382f7..9902d29457 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,7 +110,9 @@ jobs: with: go-version: 1.22.9 - name: Build & version operator-specific release files - run: make -C infra/feast-operator build-installer bundle + run: | + make -C infra/feast-operator build-installer bundle + rm -rf infra/feast-operator/bin publish-web-ui-npm: needs: [ validate_version_bumps, get_dry_release_versions ] diff --git a/.releaserc.js b/.releaserc.js index fe57ed5fc1..b972f0984c 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -68,7 +68,6 @@ module.exports = { "infra/charts/**/*.*", "infra/feast-helm-operator/**/*", "infra/feast-operator/**/*", - "!infra/feast-operator/bin/**/*", "ui/package.json", "sdk/python/feast/ui/package.json", "sdk/python/feast/ui/yarn.lock" From 11c31ef713e9088747fe6dda67e770b63b4c7b41 Mon Sep 17 00:00:00 2001 From: Tommy Hughes Date: Tue, 4 Feb 2025 12:08:29 -0600 Subject: [PATCH 3/3] cleanup infra/feast-operator/bin during release Signed-off-by: Tommy Hughes --- .github/workflows/release.yml | 4 +--- .releaserc.js | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9902d29457..bfb5e382f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,9 +110,7 @@ jobs: with: go-version: 1.22.9 - name: Build & version operator-specific release files - run: | - make -C infra/feast-operator build-installer bundle - rm -rf infra/feast-operator/bin + run: make -C infra/feast-operator build-installer bundle publish-web-ui-npm: needs: [ validate_version_bumps, get_dry_release_versions ] diff --git a/.releaserc.js b/.releaserc.js index b972f0984c..61c6813442 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -41,7 +41,7 @@ module.exports = { "verifyReleaseCmd": "./infra/scripts/validate-release.sh ${nextRelease.type} " + current_branch, // Bump all version files and build UI / update yarn.lock / helm charts - "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" + "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; rm -rf infra/feast-operator/bin" }], ["@semantic-release/release-notes-generator", {