mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 22:34:27 -07:00
Trying to rename the published files to something with the architecture in it.
This commit is contained in:
parent
61d6e7558d
commit
9b527334a6
1 changed files with 11 additions and 3 deletions
|
@ -38,6 +38,10 @@ steps:
|
||||||
arguments: '-f netcoreapp3.0 -c Release /p:PublishSingleFile=true /p:UseAppHost=true /p:RuntimeIdentifier=win-x64'
|
arguments: '-f netcoreapp3.0 -c Release /p:PublishSingleFile=true /p:UseAppHost=true /p:RuntimeIdentifier=win-x64'
|
||||||
zipAfterPublish: false
|
zipAfterPublish: false
|
||||||
|
|
||||||
|
- task: CmdLine@2
|
||||||
|
inputs:
|
||||||
|
script: 'move win-x64\publish\Greenshot.exe win-x64\publish\Greenshot-x64.exe'
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: Publish single-exe x86
|
displayName: Publish single-exe x86
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -47,15 +51,19 @@ steps:
|
||||||
arguments: '-f netcoreapp3.0 -c Release /p:PublishSingleFile=true /p:UseAppHost=true /p:RuntimeIdentifier=win-x86'
|
arguments: '-f netcoreapp3.0 -c Release /p:PublishSingleFile=true /p:UseAppHost=true /p:RuntimeIdentifier=win-x86'
|
||||||
zipAfterPublish: false
|
zipAfterPublish: false
|
||||||
|
|
||||||
|
- task: CmdLine@2
|
||||||
|
inputs:
|
||||||
|
script: 'move win-x86\publish\Greenshot.exe win-x86\publish\Greenshot-x86.exe'
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
|
displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
|
||||||
inputs:
|
inputs:
|
||||||
SourceFolder: '$(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.0'
|
SourceFolder: '$(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.0'
|
||||||
Contents: |
|
Contents: |
|
||||||
win-x64\publish\Greenshot.exe
|
win-x64\publish\Greenshot-x64.exe
|
||||||
win-x86\publish\Greenshot.exe
|
win-x86\publish\Greenshot-x86.exe
|
||||||
TargetFolder: '$(build.artifactstagingdirectory)'
|
TargetFolder: '$(build.artifactstagingdirectory)'
|
||||||
flattenFolders: false
|
flattenFolders: true
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
displayName: 'Publish Artifact: drop'
|
displayName: 'Publish Artifact: drop'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue