summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorRod Vagg <rod@vagg.org>2015-08-31 17:33:22 +1000
committerRod Vagg <rod@vagg.org>2015-09-01 08:48:01 -0400
commit5169b516509df7a829ffb8457ac648c056f85922 (patch)
treebdfe74c8452e8a106e363d995aa691ed90b59267 /vcbuild.bat
parent6dfbd11d8d8a11dde74341045f7da1ed0dc878e4 (diff)
downloadnode-new-5169b516509df7a829ffb8457ac648c056f85922.tar.gz
build: set file permissions before uploading
PR-URL: https://github.com/nodejs/node/pull/2623 Reviewed-By: jbergstroem - Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 3cee25ca20..302b434b2c 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -218,6 +218,7 @@ scp -F %SSHCONFIG% Release\node.exe %STAGINGSERVER%:nodejs/%DISTTYPEDIR%/v%FULLV
scp -F %SSHCONFIG% Release\node.lib %STAGINGSERVER%:nodejs/%DISTTYPEDIR%/v%FULLVERSION%/win-%target_arch%/node.lib
scp -F %SSHCONFIG% node-v%FULLVERSION%-%target_arch%.msi %STAGINGSERVER%:nodejs/%DISTTYPEDIR%/v%FULLVERSION%/
ssh -F %SSHCONFIG% %STAGINGSERVER% "touch nodejs/%DISTTYPEDIR%/v%FULLVERSION%/node-v%FULLVERSION%-%target_arch%.msi.done nodejs/%DISTTYPEDIR%/v%FULLVERSION%/win-%target_arch%.done"
+ssh -F %SSHCONFIG% %STAGINGSERVER% "chmod chmod -R ug=rw-x+X,o=r+X nodejs/%DISTTYPEDIR%/v%FULLVERSION%/node-v%FULLVERSION%-%target_arch%.msi* nodejs/%DISTTYPEDIR%/v%FULLVERSION%/win-%target_arch%*"
:run
@rem Run tests if requested.