[kde-linux/kde-linux] /: upload to edition specific directory for s3

Harald Sitter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit a9bf72313f2f206add019bfd1b621ffc5ce24385 by Harald Sitter.
Committed on 02/08/2026 at 13:22.
Pushed by sitter into branch 'master'.

upload to edition specific directory for s3

M  +3    -3    upload.sh

https://invent.kde.org/kde-linux/kde-linux/-/commit/a9bf72313f2f206add019bfd1b621ffc5ce24385

diff --git a/upload.sh b/upload.sh
index 7e5add89..84ae91ae 100755
--- a/upload.sh
+++ b/upload.sh
@@ -69,7 +69,7 @@ export GNUPGHOME="$PWD/.secure_files/gpg"
 # upload tree built during staging
 V2_TREE="upload-tree/sysupdate/v2"
 S3_TARGET="s3+https://storage.kde.org/kde-linux/"
-S3_CHANNEL_TARGET="${S3_TARGET}testing/"
+S3_CHANNEL_TARGET="${S3_TARGET}${PUBLISH_DIR}/"
 S3_STORE="${S3_TARGET}sysupdate/store/"
 
 # files.kde.org scp targets. We don't stage on files.kde.org, only on the storage.kde.org bucket.
@@ -182,8 +182,8 @@ publish() {
     go -C ./upload-vacuum-v3/ run .
 
     gpg --homedir="$GNUPGHOME" \
-        --output "upload-tree/testing/sysupdate/v2/SHA256SUMS.gpg" \
-        --detach-sign "upload-tree/testing/sysupdate/v2/SHA256SUMS"
+        --output "upload-tree/$PUBLISH_DIR/sysupdate/v2/SHA256SUMS.gpg" \
+        --detach-sign "upload-tree/$PUBLISH_DIR/sysupdate/v2/SHA256SUMS"
     go -C ./token-redeemer/ run .
     go -C ./uploader/ run . --remote "$S3_TARGET"
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.