SEBWIN-344: Switched to xcopy for before and after build scripts on release build server.
This commit is contained in:
		
							parent
							
								
									7eec2dbaf9
								
							
						
					
					
						commit
						78cce595e9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -27,7 +27,7 @@ for:
 | 
				
			||||||
  before_build:
 | 
					  before_build:
 | 
				
			||||||
   - nuget restore
 | 
					   - nuget restore
 | 
				
			||||||
  after_build:
 | 
					  after_build:
 | 
				
			||||||
   - robocopy "Setup\bin\%PLATFORM%\%CONFIGURATION%" "%TEMP%" Setup.msi /is; if %ERRORLEVEL% geq 8 exit 1; exit 0
 | 
					   - xcopy "Setup\bin\%PLATFORM%\%CONFIGURATION%\Setup.msi" "%TEMP%\Setup.msi" /y
 | 
				
			||||||
   - appveyor PushArtifact "Setup\bin\%PLATFORM%\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_%PLATFORM%_Setup.msi" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup (%PLATFORM%)"
 | 
					   - appveyor PushArtifact "Setup\bin\%PLATFORM%\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_%PLATFORM%_Setup.msi" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup (%PLATFORM%)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-
 | 
					-
 | 
				
			||||||
| 
						 | 
					@ -36,7 +36,7 @@ for:
 | 
				
			||||||
      - platform: x86
 | 
					      - platform: x86
 | 
				
			||||||
  before_build:
 | 
					  before_build:
 | 
				
			||||||
   - nuget restore
 | 
					   - nuget restore
 | 
				
			||||||
   - robocopy "%TEMP%" "Setup\bin\x64\%CONFIGURATION%" Setup.msi /mov; if %ERRORLEVEL% geq 8 exit 1; exit 0
 | 
					   - xcopy "%TEMP%\Setup.msi" "Setup\bin\x64\%CONFIGURATION%\Setup.msi"
 | 
				
			||||||
  after_build:
 | 
					  after_build:
 | 
				
			||||||
   - appveyor PushArtifact "Setup\bin\%PLATFORM%\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_%PLATFORM%_Setup.msi" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup (%PLATFORM%)"
 | 
					   - appveyor PushArtifact "Setup\bin\%PLATFORM%\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_%PLATFORM%_Setup.msi" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup (%PLATFORM%)"
 | 
				
			||||||
   - appveyor PushArtifact "SetupBundle\bin\%PLATFORM%\%CONFIGURATION%\SetupBundle.exe" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle.exe" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup Bundle"
 | 
					   - appveyor PushArtifact "SetupBundle\bin\%PLATFORM%\%CONFIGURATION%\SetupBundle.exe" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle.exe" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup Bundle"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue