Skip to content

Commit

Permalink
buildlib: set a proper name when creating a github release
Browse files Browse the repository at this point in the history
By default, AZP creates a release on Github without any name.
This patch set a release name with the format rdma-core-XX.YY

Signed-off-by: Nicolas Morey <nmorey@suse.com>
  • Loading branch information
nmorey committed Nov 19, 2024
1 parent 18c97ed commit ea39370
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildlib/azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ stages:

- bash: |
set -e
git_tag=$(git describe --exact-match HEAD)
rel_ver=$(echo $git_tag | sed -e 's/^v//')
echo "Version is $rel_ver"
echo "##vso[task.setvariable variable=rel_ver]$rel_ver"
mkdir build-pandoc artifacts
cd build-pandoc
CC=gcc-12 cmake -GNinja ..
Expand All @@ -37,12 +41,13 @@ stages:
python3 buildlib/cbuild make-dist-tar build-pandoc
displayName: Prebuild Documentation
- task: GithubRelease@0
- task: GithubRelease@1
displayName: 'Create GitHub Release'
inputs:
githubConnection: github_release
repositoryName: linux-rdma/rdma-core
assets: ./*.tar.gz
action: create
title: rdma-core-$(rel_ver)
isDraft: true
addChangeLog: true

0 comments on commit ea39370

Please sign in to comment.