Add replica R --> c come UiLib

This commit is contained in:
Samuele Locatelli
2022-06-19 11:58:57 +02:00
parent e9be86b5b8
commit 919042bd43
+17 -1
View File
@@ -5,6 +5,8 @@ variables:
NUM_REL: '0.1.2.3'
NUM_DEB: '0.1.2-beta.3'
CONFIG: ''
NET_SHARE_R: '\\10.74.82.201\Artifacts\EGT_SRV\EgtTech'
NET_USER: 'steamw\steamware'
NET_SHARE_X: '\\codedoc.egalware.com\library'
NET_USER_X: 'gitlab'
@@ -27,7 +29,18 @@ variables:
nuget sources Update -Name "`"Steamware Nexus`"" -Source https://nexus.steamware.net/repository/nuget-group -username "`"nugetUser`"" -password "`"$NEXUS_PASSWD`""
}
echo $hasSource
# helper copia SORGENTI DLL dalla cartella di rete R:\ alla cartella c:\EgtProg locale
.CodeReplicaR: &CodeReplicaR
- |
net use R: /delete
net use R: $env:NET_SHARE_R /u:$env:NET_USER $RDRIVE_PASSWD
ROBOCOPY R:\EgtProg\Dll32 C:\EgtProg\Dll32 /MIR
ROBOCOPY R:\EgtProg\Dll64 C:\EgtProg\Dll32 /MIR
ROBOCOPY R:\EgtProg\DllD32 C:\EgtProg\Dll32 /MIR
ROBOCOPY R:\EgtProg\DllD64 C:\EgtProg\Dll32 /MIR
SLEEP 2
net use R: /delete
# helper x recupero version number x pack
.version-fix: &version-fix
- |
@@ -77,6 +90,7 @@ EgtWPFLib:build:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln"-verbosity quiet'
- *version-fix
- *CodeReplicaR
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/ /verbosity:minimal /m'
@@ -96,6 +110,7 @@ EgtWPFLib:staging:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln"-verbosity quiet'
- *version-fix
- *CodeReplicaR
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& "$env:NUGET_PATH" pack Develop.nuspec'
@@ -118,6 +133,7 @@ EgtWPFLib:release:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln"-verbosity quiet'
- *version-fix
- *CodeReplicaR
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
- '& "$env:NUGET_PATH" pack Release.nuspec'