Correzione parametri x creazione zip da WebDeploy

This commit is contained in:
Samuele Locatelli
2022-04-11 12:25:38 +02:00
parent 924c8a6480
commit da94e4dca2
3 changed files with 8 additions and 7 deletions
+3 -2
View File
@@ -41,7 +41,9 @@ variables:
# helper creazione hash files
.hashBuild: &hashBuild
- |
$Target = $env:PROJ_NAME + "\Release\" + $env:APP_NAME + ".zip"
# hashBuild per elaborato
$Target = ".\$env:APP_NAME\Release\$env:APP_NAME.zip"
echo "Request hash fo $Target"
$MD5 = Get-FileHash $Target -Algorithm MD5
$SHA1 = Get-FileHash $Target -Algorithm SHA1
New-Item $Target".md5"
@@ -52,7 +54,6 @@ variables:
echo "Created HASH files for $Target"
# helper x send su NEXUS
# $VersNumb = $Get-Content "Resources\VersNum.txt"
.nexusUpload: &nexusUpload
- |
Set-Alias mCurl C:\Windows\system32\curl.exe
@@ -9,13 +9,13 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<ExcludeApp_Data>false</ExcludeApp_Data>
<DesktopBuildPackageLocation>Release\QR-GEN.zip</DesktopBuildPackageLocation>
<PackageAsSingleFile>true</PackageAsSingleFile>
<DeployIisAppPath>Default Web Site\ZCode</DeployIisAppPath>
<PrecompileBeforePublish>true</PrecompileBeforePublish>
<EnableUpdateable>true</EnableUpdateable>
<DebugSymbols>false</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
<ExcludeApp_Data>false</ExcludeApp_Data>
<DesktopBuildPackageLocation>Release\ZCode.zip</DesktopBuildPackageLocation>
<PackageAsSingleFile>true</PackageAsSingleFile>
<DeployIisAppPath>Default Web Site\ZCode</DeployIisAppPath>
</PropertyGroup>
</Project>
@@ -14,7 +14,7 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere
<MSDeployServiceURL>https://172.16.0.214:8172/MsDeploy.axd</MSDeployServiceURL>
<DeployIisAppPath>qrcode.steamware.net</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>false</SkipExtraFilesOnServer>
<SkipExtraFilesOnServer>true</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>true</EnableMSDeployBackup>
<UserName>steamware</UserName>