Skip to content

Commit 7302eb5

Browse files
committed
Fix release workflow to use release version without prefix and point to right helm charts
Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent 21700f2 commit 7302eb5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
--output-dir .
8080
- name: Build image
8181
run: |
82-
make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${RELEASE_VERSION}
82+
make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${VERSION_WITHOUT_PREFIX}
8383
env:
8484
RELEASE_VERSION: ${{ needs.get-version.outputs.release_version }}
8585
VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}
@@ -90,7 +90,7 @@ jobs:
9090
VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}
9191
HIGHEST_SEMVER_TAG: ${{ needs.get-version.outputs.highest_semver_tag }}
9292
run: |
93-
make push-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${RELEASE_VERSION}
93+
make push-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${VERSION_WITHOUT_PREFIX}
9494
9595
echo "Only push to latest tag if tag is the highest semver version $HIGHEST_SEMVER_TAG"
9696
if [ "${VERSION_WITHOUT_PREFIX}" = "${HIGHEST_SEMVER_TAG:1}" ]
@@ -117,13 +117,13 @@ jobs:
117117
- name: Remove previous Helm
118118
run: sudo rm -rf $(which helm)
119119
- name: Install Helm
120-
run: ./scripts/helm/install-helm.sh
120+
run: ./infra/scripts/helm/install-helm.sh
121121
- name: Validate Helm chart prior to publishing
122-
run: ./scripts/helm/validate-helm-chart-publish.sh
122+
run: ./infra/scripts/helm/validate-helm-chart-publish.sh
123123
- name: Validate all version consistency
124-
run: ./scripts/helm/validate-helm-chart-versions.sh $VERSION_WITHOUT_PREFIX
124+
run: ./infra/scripts/helm/validate-helm-chart-versions.sh $VERSION_WITHOUT_PREFIX
125125
- name: Publish Helm charts
126-
run: ./scripts/helm/push-helm-charts.sh $VERSION_WITHOUT_PREFIX
126+
run: ./infra/scripts/helm/push-helm-charts.sh $VERSION_WITHOUT_PREFIX
127127

128128
publish-python-sdk:
129129
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)