Skip to content

Commit

Permalink
Use correct release version when uploading artifacts to claw s3 bucket
Browse files Browse the repository at this point in the history
Co-authored-by: Al Berez <aberezovsky@vmware.com>
  • Loading branch information
moleske and a-b committed Aug 30, 2023
1 parent 3bbbe68 commit b663981
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release-build-sign-upload.yml
Expand Up @@ -896,18 +896,10 @@ jobs:
role-duration-seconds: 1200

- name: Upload installers to CLAW S3 bucket
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
INSTALLER_RELEASE_VERSION: ${{ env.INSTALLER_RELEASE_VERSION }}
run: |
aws s3 sync upload "s3://${AWS_S3_BUCKET}/releases/v${INSTALLER_RELEASE_VERSION}/"
run: aws s3 sync upload "s3://v${VERSION_MAJOR}-cf-cli-releases/releases/v${VERSION_BUILD}/"

- name: list S3 for human verification
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
INSTALLER_RELEASE_VERSION: ${{ env.INSTALLER_RELEASE_VERSION }}
run: |
aws s3 ls "s3://${AWS_S3_BUCKET}/releases/v${INSTALLER_RELEASE_VERSION}/"
run: aws s3 ls "s3://v${VERSION_MAJOR}-cf-cli-releases/releases/v${VERSION_BUILD}/"

- name: Instruct human to update CLAW
run: |
Expand Down

0 comments on commit b663981

Please sign in to comment.