File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 1515 - name : Get release version
1616 run : |
1717 echo "CHANGELOG_VERSION=$(cat CHANGELOG.md | grep -oP '(?<=###\s)(.*)(?=\s\-)' | head -n 1 | sed 's/Version\s/v/')" >> $GITHUB_ENV
18+ echo "PUBLISH_VERSION=$(cat CHANGELOG.md | grep -oP '(?<=###\s)(.*)(?=\s\-)' | head -n 1 | sed 's/Version\s//')" >> $GITHUB_ENV
1819 echo "CONDA_VERSION=$(cat conda.recipe/meta.yaml | grep -oP '(version\:.*)' | head -n 1 | sed 's/version\:\s/v/')" >> $GITHUB_ENV
1920 echo "TAG_VERSION=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
2021 - name : Check changelog release version
3334 pip install pyct \
3435 wheel \
3536 setuptools
37+ - name : Update publish version
38+ run : |
39+ sed -i "/name='.*',/a \ \ version='$PUBLISH_VERSION'," setup.py
3640 - name : Build package
3741 run : |
3842 python setup.py sdist bdist_wheel
You can’t perform that action at this time.
0 commit comments