Merge "releng: use aws s3 sync --delete when uploading manual" into main

This commit is contained in:
jade
2025-02-23 02:37:05 +00:00
committed by Gerrit Code Review
+2 -2
View File
@@ -284,9 +284,9 @@ def upload_manual(env: RelengEnvironment):
version = 'nightly'
print('[+] aws s3 sync manual')
aws s3 sync @(MANUAL)/ @(env.docs_bucket)/manual/lix/@(version)/
aws s3 sync --delete @(MANUAL)/ @(env.docs_bucket)/manual/lix/@(version)/
if OFFICIAL_RELEASE:
aws s3 sync @(MANUAL)/ @(env.docs_bucket)/manual/lix/stable/
aws s3 sync --delete @(MANUAL)/ @(env.docs_bucket)/manual/lix/stable/
def build_artifacts(build_profile, no_check_git=False):