File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : bump version
2
+ permissions :
3
+ contents : write
2
4
# Upstream uses last portion of the version as a unique part to differentiate builds
3
5
# created from different commits. Last part (or VERSION_TWEAK) is basically a number
4
6
# of commits since the last tag (computed automatically by git).
@@ -43,15 +45,15 @@ jobs:
43
45
mv cmake/autogenerated_versions_new.txt cmake/autogenerated_versions.txt
44
46
cat cmake/autogenerated_versions.txt
45
47
# 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 }}
47
49
48
50
- name : push updated cmake/autogenerated_versions.txt
49
51
run : |
52
+ set -x
50
53
# export version info as multiple variables
51
54
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