Merge branch 'release/TestStableRelease01'
This commit is contained in:
+6
-6
@@ -42,7 +42,7 @@ variables:
|
||||
# helper creazione hash files x Nexus
|
||||
.hashBuild: &hashBuild
|
||||
- |
|
||||
$Target = "$env:APP_NAME\bin\" + $env:APP_CONF + "\en-US\" + $env:APP_NAME + ".msi"
|
||||
$Target = "$env:INST_NAME\bin\" + $env:APP_CONF + "\en-US\" + $env:INST_NAME + ".msi"
|
||||
$MD5 = Get-FileHash $Target -Algorithm MD5
|
||||
$SHA1 = Get-FileHash $Target -Algorithm SHA1
|
||||
New-Item $Target".md5"
|
||||
@@ -74,7 +74,7 @@ variables:
|
||||
ForEach ($File in $File2Send) {
|
||||
$FileName = Split-Path $File -leaf
|
||||
mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:INST_NAME/$version/LAST/$FileName
|
||||
mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:INST_NAME/$version/ARCHIVE/$VersNumb/$FileName
|
||||
mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:INST_NAME/$version/ARCHIVE/$fileVers/$FileName
|
||||
echo "mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file $File https://nexus.steamware.net/repository/SWS/$env:INST_NAME/$version/LAST/$FileName"
|
||||
}
|
||||
#mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "$env:INST_NAME\Resources\manifest.xml" https://nexus.steamware.net/repository/SWS/$env:INST_NAME/$version/LAST/manifest.xml
|
||||
@@ -155,9 +155,9 @@ Runner:deploy-dev:
|
||||
- *version-fix
|
||||
script:
|
||||
# pubblicazione come singleApp
|
||||
- dotnet publish -p:PublishProfile=SingleAppDebug.pubxml -p:RunCodeAnalysis=false -p:Configuration=Debug $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- dotnet publish -p:PublishProfile=SingleAppDebug.pubxml -p:RunCodeAnalysis=false -p:Configuration=$env:APP_CONF $env:APP_NAME/$env:APP_NAME.csproj
|
||||
# creazione installer WIX
|
||||
- dotnet build $env:INST_NAME/$env:INST_NAME.wixproj
|
||||
- dotnet build $env:INST_NAME/$env:INST_NAME.wixproj -p:Configuration=$env:APP_CONF
|
||||
#- *artifactZipper
|
||||
- *hashBuild
|
||||
- *nexusUpload
|
||||
@@ -180,9 +180,9 @@ Runner:deploy:
|
||||
- *version-fix
|
||||
script:
|
||||
# pubblicazione come singleApp
|
||||
- dotnet publish -p:PublishProfile=SingleApp.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- dotnet publish -p:PublishProfile=SingleApp.pubxml -p:RunCodeAnalysis=false -p:Configuration=$env:APP_CONF $env:APP_NAME/$env:APP_NAME.csproj
|
||||
# creazione installer WIX
|
||||
- dotnet build $env:INST_NAME/$env:INST_NAME.wixproj
|
||||
- dotnet build $env:INST_NAME/$env:INST_NAME.wixproj -p:Configuration=$env:APP_CONF
|
||||
#- *artifactZipper
|
||||
- *hashBuild
|
||||
- *nexusUpload
|
||||
|
||||
@@ -17,4 +17,9 @@
|
||||
<ItemGroup>
|
||||
<Compile Remove="stdin.wxs" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||
<SuppressPdbOutput>true</SuppressPdbOutput>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user