From fa8dbe7988a3d8697a9693440cdd3511bdc18a2b Mon Sep 17 00:00:00 2001 From: RaidMax Date: Wed, 15 Jan 2020 15:41:09 -0600 Subject: [PATCH] finish version file upload (I think) --- azure-pipelines.yml | 48 ++++++++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 880b3a5b1..4554dc903 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -127,30 +127,42 @@ steps: username: '$(FTPUsername)' password: '$(FTPPassword)' rootDirectory: '$(Build.ArtifactStagingDirectory)' - filePatterns: | - '*.zip' - version_prerelease.txt + filePatterns: '*.zip' remoteDirectory: 'IW4MAdmin/Download' clean: false cleanContents: false preservePaths: false trustSSL: false -#- task: GitHubRelease@1 -# inputs: -# gitHubConnection: 'github.com_RaidMax' -# repositoryName: 'RaidMax/IW4M-Admin' -# action: 'create' -# target: '$(Build.SourceVersion)' -# tagSource: 'userSpecifiedTag' -# tag: '$(Version.Major).$(Version.Minor)-$(buildConfiguration)$(Version.Build)b$(Build.BuildId)' -# title: 'Version $(Version.Major).$(Version.Minor) $(buildConfiguration) Feature $(Version.Build) Build $(Build.BuildId)' -# assets: '$(Build.ArtifactStagingDirectory)/*.zip' -# isPreRelease: true -# releaseNotesSource: 'inline' -# releaseNotesInline: 'todo' -# changeLogCompareToRelease: 'lastNonDraftRelease' -# changeLogType: 'commitBased' +- task: FtpUpload@2 + inputs: + credentialsOption: 'inputs' + serverUrl: '$(FTPUrl)' + username: '$(FTPUsername)' + password: '$(FTPPassword)' + rootDirectory: '$(Build.ArtifactStagingDirectory)' + filePatterns: 'version_prerelease.txt' + remoteDirectory: 'IW4MAdmin' + clean: false + cleanContents: false + preservePaths: false + trustSSL: false + +- task: GitHubRelease@1 + inputs: + gitHubConnection: 'github.com_RaidMax' + repositoryName: 'RaidMax/IW4M-Admin' + action: 'create' + target: '$(Build.SourceVersion)' + tagSource: 'userSpecifiedTag' + tag: '$(Version.Major).$(Version.Minor)-$(buildConfiguration)$(Version.Build)b$(Build.BuildId)' + title: 'Version $(Version.Major).$(Version.Minor) $(buildConfiguration) Feature $(Version.Build) Build $(Build.BuildId)' + assets: '$(Build.ArtifactStagingDirectory)/*.zip' + isPreRelease: true + releaseNotesSource: 'inline' + releaseNotesInline: 'todo' + changeLogCompareToRelease: 'lastNonDraftRelease' + changeLogType: 'commitBased' - task: PowerShell@2 inputs: