Update appveyor.yml
This commit is contained in:
parent
118c62e89a
commit
bce17205b8
1 changed files with 6 additions and 6 deletions
12
appveyor.yml
12
appveyor.yml
|
@ -18,18 +18,18 @@ build_script:
|
|||
dotnet publish -c $env:config -r linux-x64
|
||||
dotnet publish -c $env:config -r osx-x64
|
||||
|
||||
(Get-Content $env:APPVEYOR_BUILD_FOLDER\Version.json).replace('_ver', $env:APPVEYOR_BUILD_VERSION) | Set-Content $env:APPVEYOR_BUILD_FOLDER\Version.json
|
||||
(Get-Content $env:APPVEYOR_BUILD_FOLDER\Version.json).replace('_pr', $env:APPVEYOR_PULL_REQUEST_NUMBER) | Set-Content $env:APPVEYOR_BUILD_FOLDER\Version.json
|
||||
(Get-Content $env:APPVEYOR_BUILD_FOLDER\Version.json).replace('_branch', $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) | Set-Content $env:APPVEYOR_BUILD_FOLDER\Version.json
|
||||
(Get-Content -Path $env:APPVEYOR_BUILD_FOLDER\Version.json).replace('_ver', '$env:APPVEYOR_BUILD_VERSION') | Set-Content -Path $env:APPVEYOR_BUILD_FOLDER\Version.json
|
||||
(Get-Content -Path $env:APPVEYOR_BUILD_FOLDER\Version.json).replace('_pr', '$env:APPVEYOR_PULL_REQUEST_NUMBER') | Set-Content -Path $env:APPVEYOR_BUILD_FOLDER\Version.json
|
||||
(Get-Content -Path $env:APPVEYOR_BUILD_FOLDER\Version.json).replace('_branch', '$env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH') | Set-Content -Path $env:APPVEYOR_BUILD_FOLDER\Version.json
|
||||
|
||||
Copy-Item $env:APPVEYOR_BUILD_FOLDER\Version.json -Destination $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\win-x64\publish\
|
||||
Copy-Item -Path $env:APPVEYOR_BUILD_FOLDER\Version.json -Destination $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\win-x64\publish\
|
||||
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-win_x64.zip $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\win-x64\publish\
|
||||
|
||||
Copy-Item $env:APPVEYOR_BUILD_FOLDER\Version.json -Destination $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\linux-x64\publish\
|
||||
Copy-Item -Path $env:APPVEYOR_BUILD_FOLDER\Version.json -Destination $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\linux-x64\publish\
|
||||
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-linux_x64.tar $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\linux-x64\publish\
|
||||
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-linux_x64.tar.gz ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-linux_x64.tar
|
||||
|
||||
Copy-Item $env:APPVEYOR_BUILD_FOLDER\Version.json -Destination $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\osx-x64\publish\
|
||||
Copy-Item -Path $env:APPVEYOR_BUILD_FOLDER\Version.json -Destination $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\osx-x64\publish\
|
||||
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-osx_x64.zip $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\osx-x64\publish\
|
||||
|
||||
artifacts:
|
||||
|
|
Loading…
Add table
Reference in a new issue