File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 11name : bump version
2+ permissions :
3+ contents : write
24# Upstream uses last portion of the version as a unique part to differentiate builds
35# created from different commits. Last part (or VERSION_TWEAK) is basically a number
46# of commits since the last tag (computed automatically by git).
@@ -43,15 +45,15 @@ jobs:
4345 mv cmake/autogenerated_versions_new.txt cmake/autogenerated_versions.txt
4446 cat cmake/autogenerated_versions.txt
4547 # update rest of the version info (mostly VERSION_DESCRIBE and VERSION_STRING)
46- python3 tests/ci/version_helper.py --update-cmake --version-type='altinitystable'
48+ python3 tests/ci/version_helper.py --update-cmake --version-type=${{ env.VERSION_TYPE }}
4749
4850 - name : push updated cmake/autogenerated_versions.txt
4951 run : |
52+ set -x
5053 # export version info as multiple variables
5154 source <(python3 tests/ci/version_helper.py --export --version-type='altinitystable')
52- git \
53- 54- -c user.name=altinity-robot \
55- -c commit.gpgsign=false
56- git commit -a -m "Bumped version to $CLICKHOUSE_VERSION_DESCRIBE" cmake/autogenerated_versions.txt
57- git push
55+ git config --global [email protected] 56+ git config --global user.name=altinity-robot
57+ git config --global commit.gpgsign=false
58+ git commit -m "Bumped version to $CLICKHOUSE_VERSION_DESCRIBE" -- cmake/autogenerated_versions.txt
59+ git push
You can’t perform that action at this time.
0 commit comments