Merge pull request #13435 from olemarkus/fix-latest-upload

Use the correct upload folder for the latest.txt file
This commit is contained in:
Kubernetes Prow Robot 2022-03-29 04:32:47 -07:00 committed by GitHub
commit 88e3132260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -250,8 +250,8 @@ gcs-upload: gsutil version-dist
# gcs-upload-tag runs gcs-upload to upload, then uploads a version-marker to LATEST_FILE
.PHONY: gcs-upload-and-tag
gcs-upload-and-tag: gsutil gcs-upload
echo "${GCS_URL}${VERSION}" > ${BAZELUPLOAD}/latest.txt
gsutil -h "Cache-Control:private, max-age=0, no-transform" cp ${BAZELUPLOAD}/latest.txt ${GCS_LOCATION}${LATEST_FILE}
echo "${GCS_URL}${VERSION}" > ${UPLOAD}/latest.txt
gsutil -h "Cache-Control:private, max-age=0, no-transform" cp ${UPLOAD}/latest.txt ${GCS_LOCATION}${LATEST_FILE}
.PHONY: bazel-version-ci
bazel-version-ci: bazel-version-dist-linux-amd64 bazel-version-dist-linux-arm64