finish version file upload (I think)

This commit is contained in:
RaidMax 2020-01-15 15:41:09 -06:00
parent bdeb5b2408
commit fa8dbe7988

View File

@ -127,30 +127,42 @@ steps:
username: '$(FTPUsername)' username: '$(FTPUsername)'
password: '$(FTPPassword)' password: '$(FTPPassword)'
rootDirectory: '$(Build.ArtifactStagingDirectory)' rootDirectory: '$(Build.ArtifactStagingDirectory)'
filePatterns: | filePatterns: '*.zip'
'*.zip'
version_prerelease.txt
remoteDirectory: 'IW4MAdmin/Download' remoteDirectory: 'IW4MAdmin/Download'
clean: false clean: false
cleanContents: false cleanContents: false
preservePaths: false preservePaths: false
trustSSL: false trustSSL: false
#- task: GitHubRelease@1 - task: FtpUpload@2
# inputs: inputs:
# gitHubConnection: 'github.com_RaidMax' credentialsOption: 'inputs'
# repositoryName: 'RaidMax/IW4M-Admin' serverUrl: '$(FTPUrl)'
# action: 'create' username: '$(FTPUsername)'
# target: '$(Build.SourceVersion)' password: '$(FTPPassword)'
# tagSource: 'userSpecifiedTag' rootDirectory: '$(Build.ArtifactStagingDirectory)'
# tag: '$(Version.Major).$(Version.Minor)-$(buildConfiguration)$(Version.Build)b$(Build.BuildId)' filePatterns: 'version_prerelease.txt'
# title: 'Version $(Version.Major).$(Version.Minor) $(buildConfiguration) Feature $(Version.Build) Build $(Build.BuildId)' remoteDirectory: 'IW4MAdmin'
# assets: '$(Build.ArtifactStagingDirectory)/*.zip' clean: false
# isPreRelease: true cleanContents: false
# releaseNotesSource: 'inline' preservePaths: false
# releaseNotesInline: 'todo' trustSSL: false
# changeLogCompareToRelease: 'lastNonDraftRelease'
# changeLogType: 'commitBased' - 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 - task: PowerShell@2
inputs: inputs: