We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 789ef8d commit 8b220e5Copy full SHA for 8b220e5
.circleci/config.yml
@@ -778,6 +778,12 @@ jobs:
778
- run:
779
name: Publish AWS S3
780
command: |
781
+ # remove previous build from the latest directory /public/latest
782
+ aws s3 rm s3://${AWS_BUCKET_NAME}/${downloadLatestFolderPath} --recursive
783
+
784
+ # remove previous build from the upgrade directory /public/upgrades
785
+ aws s3 rm s3://${AWS_BUCKET_NAME}/${upgradeLatestFolderPath} --recursive
786
787
# copy current version apps for download to /public/latest
788
aws s3 cp s3://${AWS_BUCKET_NAME}/private/${applicationVersion}/ \
789
s3://${AWS_BUCKET_NAME}/${downloadLatestFolderPath} --recursive --exclude "*.zip"
0 commit comments