diff options
| author | Darien Raymond <[email protected]> | 2018-12-11 14:22:14 +0100 |
|---|---|---|
| committer | Darien Raymond <[email protected]> | 2018-12-11 14:22:14 +0100 |
| commit | b2ebb9c2ee7dbf142a0a3722723aa4927a4f4752 (patch) | |
| tree | af63ac5d95f83a7b319d4c4bd9981e738418efdb | |
| parent | 5fd20ead84d3fc5939dc1b13595d462339da0f2c (diff) | |
add release task
| -rw-r--r-- | azure-pipelines.yml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 910fd9dc..2c074bb3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,7 +19,21 @@ jobs: $(Build.SourcesDirectory)/generate.sh workingDirectory: '$(system.defaultWorkingDirectory)' displayName: 'Generate' - - task: PublishPipelineArtifact@0 + - task: GithubRelease@0 + displayName: 'CreateRelease' + workingDirectory: '$(system.defaultWorkingDirectory)' inputs: - artifactName: 'geosite' - targetPath: '$(system.defaultWorkingDirectory)/publish' + gitHubConnection: GithubRelease + repositoryName: v2ray/geoip + action: 'create' + target: '$(build.sourceVersion)' + tagSource: 'auto' + #tag: # Required when action == edit || action == discard || tagSource == manual + title: '$(Date:yyyyMMdd)' + 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 |
