mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 12:34:39 +08:00 
			
		
		
		
	Strip newlines on the build name before trying to upload.
This commit is contained in:
		
							parent
							
								
									99fc82b5c0
								
							
						
					
					
						commit
						5c4d8dff2b
					
				@ -40,8 +40,8 @@ after_build:
 | 
			
		||||
        if (!"$env:APPVEYOR_PULL_REQUEST_TITLE" -and ("$env:APPVEYOR_REPO_BRANCH" -eq "master"))
 | 
			
		||||
          {
 | 
			
		||||
            $GITDATE = $(git show -s --date=short --format='%ad') -replace "-",""
 | 
			
		||||
            $GITREV = git show -s --format='%h'
 | 
			
		||||
            $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z"
 | 
			
		||||
            $GITREV = $(git show -s --format='%h')
 | 
			
		||||
            $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace "`n|`r",""
 | 
			
		||||
            # zip up the build folder
 | 
			
		||||
            7z a $BUILD_NAME .\build\bin\release\*
 | 
			
		||||
            
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user