File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 3535 echo "$PATH" >> $GITHUB_PATH
3636 python3 -m pip install -r third_party/requirements.txt
3737
38+ - name : Get UMF version
39+ run : |
40+ VERSION=$(git describe --tags --abbrev=0 | grep -oP '\d+\.\d+\.\d+')
41+ echo "UMF_VERSION=$VERSION" >> $GITHUB_ENV
42+
3843 - name : Build the documentation
3944 run : |
4045 cmake -B build \
Original file line number Diff line number Diff line change 1+ import os
2+
13# Configuration file for the Sphinx documentation builder.
24#
35# This file only contains a selection of the most common options. For a full
2224author = "Intel"
2325
2426# The full version, including alpha/beta/rc tags
25- release = "0.11.0"
26-
27+ release = os . getenv ( "UMF_VERSION" , "unknown" )
28+ print ( "UMF version: " , release )
2729
2830# -- General configuration ---------------------------------------------------
2931
You can’t perform that action at this time.
0 commit comments