diff options
| author | Darien Raymond <[email protected]> | 2018-12-11 14:45:12 +0100 |
|---|---|---|
| committer | Darien Raymond <[email protected]> | 2018-12-11 14:45:12 +0100 |
| commit | f7b15e264fc272f99cfa3ef0a92f35f5efd314c7 (patch) | |
| tree | 30b8634a85776c1e3bed2f1c5f5d912f83799f4c | |
| parent | 0089f5e5ce2cac8405541f9e4a277b45c2d1fc7f (diff) | |
update
| -rw-r--r-- | azure-pipelines.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 655cb7d7..24d4c2dd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,8 +19,13 @@ jobs: $(Build.SourcesDirectory)/generate.sh workingDirectory: '$(system.defaultWorkingDirectory)' displayName: 'Generate' + - task: CopyFiles@2 + inputs: + sourceFolder: '$(system.defaultworkingdirectory)/publish' + contents: 'geoip.dat' + targetFolder: '$(build.artifactStagingDirectory)' - task: GithubRelease@0 - displayName: 'CreateRelease' + displayName: 'Upload to Github' inputs: gitHubConnection: GithubRelease repositoryName: 'v2ray/geoip' @@ -30,8 +35,4 @@ jobs: tag: '$(Build.BuildNumber)' releaseNotesSource: 'input' releaseNotes: 'Weekly Geoip Release' - assets: '$(system.defaultWorkingDirectory)/publish/geoip.dat' - assetUploadMode: 'delete' # Optional. Options: delete, replace - #isDraft: false # Optional - #isPreRelease: false # Optional - #addChangeLog: true # Optional + assets: '$(build.artifactStagingDirectory)/geoip.dat' |
