Minor updates to Windows installer upload script.
This commit is contained in:
parent
5bd7bf5bab
commit
1872f93fd1
|
@ -30,9 +30,10 @@ if not defined PSCP echo Cannot locate pscp.exe & exit /B 1
|
||||||
echo Found pscp.exe at %PSCP%
|
echo Found pscp.exe at %PSCP%
|
||||||
|
|
||||||
call "%PCBUILD%env.bat" > nul 2> nul
|
call "%PCBUILD%env.bat" > nul 2> nul
|
||||||
|
pushd "%D%"
|
||||||
msbuild /v:m /nologo uploadrelease.proj /t:Upload /p:Platform=x86
|
msbuild /v:m /nologo uploadrelease.proj /t:Upload /p:Platform=x86
|
||||||
msbuild /v:m /nologo uploadrelease.proj /t:Upload /p:Platform=x64 /p:IncludeDoc=false
|
msbuild /v:m /nologo uploadrelease.proj /t:Upload /p:Platform=x64 /p:IncludeDoc=false
|
||||||
|
popd
|
||||||
exit /B 0
|
exit /B 0
|
||||||
|
|
||||||
:Help
|
:Help
|
||||||
|
|
|
@ -41,14 +41,14 @@
|
||||||
<Target Name="_Upload" Condition="!$(DryRun)">
|
<Target Name="_Upload" Condition="!$(DryRun)">
|
||||||
<Exec Command=""$(PLINK)" $(User)@$(Host) mkdir %(File.CopyTo) ^&^& chgrp downloads %(File.CopyTo) ^&^& chmod g-w,o+rx %(File.CopyTo)
|
<Exec Command=""$(PLINK)" $(User)@$(Host) mkdir %(File.CopyTo) ^&^& chgrp downloads %(File.CopyTo) ^&^& chmod g-w,o+rx %(File.CopyTo)
|
||||||
"$(PSCP)" @(File,' ') $(User)@$(Host):%(File.CopyTo)
|
"$(PSCP)" @(File,' ') $(User)@$(Host):%(File.CopyTo)
|
||||||
"$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/* ^&^& chmod g-w,o+r %(File.CopyTo)/*
|
"$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/*; chmod g-w,o+r %(File.CopyTo)/*
|
||||||
" />
|
" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="_PrintNames" Condition="$(DryRun)">
|
<Target Name="_PrintNames" Condition="$(DryRun)">
|
||||||
<Exec Command="echo "$(PLINK)" $(User)@$(Host) mkdir %(File.CopyTo) ^&^& chgrp downloads %(File.CopyTo) ^&^& chmod g-w,o+rx %(File.CopyTo)
|
<Exec Command="echo "$(PLINK)" $(User)@$(Host) mkdir %(File.CopyTo) ^&^& chgrp downloads %(File.CopyTo) ^&^& chmod g-w,o+rx %(File.CopyTo)
|
||||||
echo "$(PSCP)" @(File,' ') $(User)@$(Host):%(File.CopyTo)
|
echo "$(PSCP)" @(File,' ') $(User)@$(Host):%(File.CopyTo)
|
||||||
echo "$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/* ^&^& chmod g-w,o+r %(File.CopyTo)/*
|
echo "$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/*; chmod g-w,o+r %(File.CopyTo)/*
|
||||||
echo.
|
echo.
|
||||||
echo." />
|
echo." />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
Loading…
Reference in New Issue