mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	Merge pull request #667 from archshift/wut
Remove mysterious spaces that were added by `git show --format`
This commit is contained in:
		
						commit
						4612d0be6c
					
				@ -41,15 +41,16 @@ after_build:
 | 
				
			|||||||
          {
 | 
					          {
 | 
				
			||||||
            $GITDATE = $(git show -s --date=short --format='%ad') -replace "-",""
 | 
					            $GITDATE = $(git show -s --date=short --format='%ad') -replace "-",""
 | 
				
			||||||
            $GITREV = $(git show -s --format='%h')
 | 
					            $GITREV = $(git show -s --format='%h')
 | 
				
			||||||
            $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace "`n|`r",""
 | 
					            # Where are these spaces coming from? Regardless, let's remove them
 | 
				
			||||||
            # zip up the build folder
 | 
					            $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ",""
 | 
				
			||||||
 | 
					            # Zip up the build folder
 | 
				
			||||||
            7z a $BUILD_NAME .\build\bin\release\*
 | 
					            7z a $BUILD_NAME .\build\bin\release\*
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            # download winscp
 | 
					            # Download winscp
 | 
				
			||||||
            Invoke-WebRequest "http://hivelocity.dl.sourceforge.net/project/winscp/WinSCP/5.7/winscp570.zip" -OutFile "winscp570.zip"
 | 
					            Invoke-WebRequest "http://hivelocity.dl.sourceforge.net/project/winscp/WinSCP/5.7/winscp570.zip" -OutFile "winscp570.zip"
 | 
				
			||||||
            7z e -y winscp570.zip
 | 
					            7z e -y winscp570.zip
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            # upload to server
 | 
					            # Upload to server
 | 
				
			||||||
            .\WinSCP.com /command `
 | 
					            .\WinSCP.com /command `
 | 
				
			||||||
                "option batch abort" `
 | 
					                "option batch abort" `
 | 
				
			||||||
                "option confirm off" `
 | 
					                "option confirm off" `
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user