parameters: github: isPreRelease: false repositoryName: '$(Build.Repository.Name)' gitHubConnection: "MyGithubConnection" dependsOn: [] displayName: "Release to github" steps: - script: | VER=$(cat Cargo.toml| grep version -m 1 | awk -F '"' '{ print $2 }') echo '##vso[task.setvariable variable=vers]'$VER - task: GitHubRelease@0 displayName: Create GitHub release inputs: gitHubConnection: ${{ parameters.github.gitHubConnection }} tagSource: manual title: '$(vers)' tag: '$(vers)' assetUploadMode: replace action: edit assets: 'espanso-*' addChangeLog: false repositoryName: ${{ parameters.github.repositoryName }} isPreRelease: ${{ parameters.github.isPreRelease }}