Skip to content

Commit a0bf390

Browse files
authored
fix(ci): opreator binary should not be prefixed with v (#1060)
* fix(ci): opreator binary should not be prefixed with v * f * f
1 parent 5012827 commit a0bf390

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release-prod.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ jobs:
175175
run: |
176176
export EC_VERSION="${{ needs.get-tag.outputs.tag-name }}"
177177
export OPERATOR_IMAGE=proxy.replicated.com/anonymous/${{ needs.publish-operator-image.outputs.image }}
178-
export OPERATOR_VERSION=${{ needs.get-tag.outputs.tag-name }}
178+
export OPERATOR_VERSION=$(echo "${{ needs.get-tag.outputs.tag-name }}" | sed 's/^v//')
179179
180180
./scripts/cache-files.sh
181181
@@ -188,7 +188,7 @@ jobs:
188188
run: |
189189
export EC_VERSION="${{ needs.get-tag.outputs.tag-name }}"
190190
export OPERATOR_IMAGE=proxy.replicated.com/anonymous/${{ needs.publish-operator-image.outputs.image }}
191-
export OPERATOR_VERSION=${{ needs.get-tag.outputs.tag-name }}
191+
export OPERATOR_VERSION=$(echo "${{ needs.get-tag.outputs.tag-name }}" | sed 's/^v//')
192192
193193
./scripts/cache-files.sh
194194

e2e/scripts/vandoor-prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ main() {
1111
apt-get install curl ca-certificates -y
1212

1313
echo "downloading from https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/${app_version_label}"
14-
curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/${app_version_label}" -H "Authorization: ${license_id}" -o ec-release.tgz
14+
curl -fL -o ec-release.tgz "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/${app_version_label}" -H "Authorization: ${license_id}"
1515
tar xzf ec-release.tgz
1616

1717
mkdir -p /assets

0 commit comments

Comments
 (0)