mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
Update azure-pipelines.yml
This commit is contained in:
parent
26472d634c
commit
239e1e0544
@ -216,6 +216,8 @@ jobs:
|
||||
displayName: List Artifacts
|
||||
env:
|
||||
ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory)
|
||||
- script: VERSION_TAG=`git describe --tags` && echo "##vso[task.setvariable variable=VERSION_TAG]$VERSION_TAG"
|
||||
displayName: Set the tag name as an environment variable
|
||||
- task: GithubRelease@0
|
||||
displayName: "Create GitHub Release"
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||
@ -224,11 +226,13 @@ jobs:
|
||||
repositoryName: 'wasmerio/wasmer'
|
||||
action: 'create'
|
||||
target: '$(Build.SourceVersion)'
|
||||
title: '$(VERSION_TAG)'
|
||||
addChangeLog: false
|
||||
tagSource: 'auto'
|
||||
# TODO: automate it all by getting the release notes from somewhere else and using the `releaseNotesFile` key
|
||||
isDraft: false
|
||||
isPreRelease: false
|
||||
assets: '$(Build.ArtifactStagingDirectory)/*'
|
||||
assets: '$(Build.ArtifactStagingDirectory)'
|
||||
|
||||
- job: Docs
|
||||
pool:
|
||||
|
Loading…
Reference in New Issue
Block a user