Merge pull request #14249 from keymanapp/maint/web/14225-simplify-rsync-call-and-download-info-build

maint(web): adjust rsync path
This commit is contained in:
Marc Durdin 2025-07-02 05:20:27 +07:00 • committed by GitHub
commit 533bc73312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ function _publish_to_downloads() {
# "-vrzltp " # verbose, recurse, zip, copy symlinks, preserve times, permissions
# "--perms " # perfectly matches existing file permissions on the build agent
# "--stats " # show statistics for log
# "--rsync-path=\"sudo -u vu2009 rsync\" # path on remote server
# "--rsync-path= # path on remote server
# "--rsh=ssh " # use ssh
# The actual rsync call.

View file

@ -66,7 +66,7 @@ function _zip_and_upload_artifacts() {
'-vrzltp' # verbose, recurse, zip, copy symlinks, preserve times, permissions
'--chmod=Dug=rwx,Do=rx,Fug=rw,Fo=r' # map Windows security to host security
'--stats' # show statistics for log
"--rsync-path=\"${RSYNC_PATH}\"" # path on remote server
"--rsync-path=${RSYNC_PATH}" # path on remote server
"--rsh=${RSYNC_HOME}\ssh -i ${USERPROFILE}\.ssh\id_rsa -o UserKnownHostsFile=${USERPROFILE}\.ssh\known_hosts" # use ssh
"${KEYMAN_VERSION}" # upload the whole build folder
"${RSYNC_USER}@${RSYNC_HOST}:${RSYNC_ROOT}/web/${KEYMAN_TIER}/" # target server + path