Skip to content

Commit

Permalink
Merge pull request #1524 from nmorey/dev/master/pipeline
Browse files Browse the repository at this point in the history
buildlib: set a proper name when creating a github release
  • Loading branch information
rleon authored Nov 27, 2024
2 parents 18c97ed + ea39370 commit be21c2a
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 be21c2a

Please sign in to comment.