Skip to content

Commit 5b2f8b9

Browse files
committed
Fix bosh upload blobs
Make sure to upload the blobs before committing, so that the updated object ID gets committed.
1 parent c6e40ec commit 5b2f8b9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/create-bosh-release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ jobs:
7474
name: bosh-release-candidate
7575
path: ./cf-cli-dev-release.tgz
7676

77-
- name: Upload bosh blobs to blobstore
78-
if: ${{ vars.PRODUCTION == 'true' }}
79-
run: |
80-
bosh upload-blobs
81-
8277
- name: Push changes
8378
if: ${{ vars.PRODUCTION == 'true' }}
8479
uses: ad-m/github-push-action@9870d48124da805820c70ebc6ba563c715551019

ci/scripts/create-bosh-release-candidate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ add_and_commit_blob() {
3030

3131
echo "::group::Adding blob for v${_major_version} - ${_downloaded_tarball_basename}"
3232
bosh add-blob "${_downloaded_tarball}" "${_downloaded_tarball_basename}"
33+
bosh upload-blobs
3334
diff_and_commit_with_message "Setting CF CLI v${_major_version} to ${_full_version}"
3435
echo "::endgroup::"
3536
}
@@ -60,6 +61,7 @@ update_and_commit_blob() {
6061

6162
echo "::group::Adding blob for v${_major_version} - ${_downloaded_tarball_basename}"
6263
bosh add-blob "${_downloaded_tarball}" "${_downloaded_tarball_basename}"
64+
bosh upload-blobs
6365
diff_and_commit_with_message "Updating CF CLI v${_major_version} from ${_published_version} to ${_new_version}"
6466
echo "::endgroup::"
6567
}

0 commit comments

Comments
 (0)