feat: version config

This commit is contained in:
rankun 2020-04-18 02:04:48 +08:00
commit 4f91b57aa2
6 changed files with 38 additions and 9 deletions

View file

@ -42,7 +42,9 @@ jobs:
- name: Build MacOS
env:
ENV_QT_PATH: ${{ env.qt-install-path }}
run: ci/mac/build_for_mac.sh release
run: |
python ci\generate-version.py
ci/mac/build_for_mac.sh release
# 获取ref最后一个/后的内容
- name: Get the version
shell: bash

View file

@ -45,4 +45,6 @@ jobs:
- name: Build Ubuntu
env:
ENV_QT_PATH: ${{ env.qt-install-path }}
run: ci/linux/build_for_ubuntu.sh release
run: |
python ci\generate-version.py
ci/linux/build_for_ubuntu.sh release

View file

@ -71,6 +71,7 @@ jobs:
ENV_VCVARSALL: ${{ env.vcvarsall-path }}
ENV_QT_PATH: ${{ env.qt-install-path }}
run: |
call python ci\generate-version.py
call "ci\win\build_for_win.bat" release ${{ matrix.msvc-arch }}
# 获取ref最后一个/后的内容
- name: Get the version