revert pipeline back to one job

This commit is contained in:
RaidMax 2023-06-04 11:29:19 -05:00
parent 5a22a759a8
commit 50593f5a93

View File

@ -22,7 +22,7 @@ variables:
isPreRelease: false
jobs:
- job: Build
- job: Build & Deploy
steps:
- task: UseDotNet@2
displayName: 'Install .NET Core 6 SDK'
@ -121,9 +121,6 @@ jobs:
failOnStderr: true
workingDirectory: '$(Build.Repository.LocalPath)\Application\BuildScripts'
- job: Transform
dependsOn: Build
steps:
- task: CmdLine@2
displayName: 'Convert Linux start script line endings'
inputs:
@ -163,9 +160,6 @@ jobs:
workingDirectory: '$(Build.Repository.LocalPath)'
failOnStderr: true
- job: Artifact
dependsOn: Transform
steps:
- task: ArchiveFiles@2
displayName: 'Generate final zip file'
inputs:
@ -187,11 +181,8 @@ jobs:
artifact: 'IW4MAdmin.$(buildConfiguration)'
publishLocation: 'pipeline'
- job: Publish
dependsOn: Artifact
condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/develop'))
steps:
- task: FtpUpload@2
condition: ne(variables['Build.SourceBranch'], 'refs/heads/develop')
displayName: 'Upload zip file to website'
inputs:
credentialsOption: 'inputs'
@ -207,6 +198,7 @@ jobs:
trustSSL: false
- task: FtpUpload@2
condition: ne(variables['Build.SourceBranch'], 'refs/heads/develop')
displayName: 'Upload version info to website'
inputs:
credentialsOption: 'inputs'
@ -222,6 +214,7 @@ jobs:
trustSSL: false
- task: GitHubRelease@1
condition: ne(variables['Build.SourceBranch'], 'refs/heads/develop')
displayName: 'Make GitHub release'
inputs:
gitHubConnection: 'github.com_RaidMax'
@ -239,6 +232,7 @@ jobs:
changeLogType: 'commitBased'
- task: PowerShell@2
condition: ne(variables['Build.SourceBranch'], 'refs/heads/develop')
displayName: 'Update master version'
inputs:
targetType: 'inline'