1
0
Fork 0

Update version in config.h and resource script

This commit is contained in:
Patryk Obara 2019-12-06 15:22:44 +01:00 committed by Patryk Obara
parent 9efa980b05
commit f89416a20a
2 changed files with 13 additions and 6 deletions

View file

@ -98,6 +98,13 @@ jobs:
- name: Log environment
shell: pwsh
run: .\scripts\log-env.ps1
- name: Inject version string
shell: bash
run: |
set -x
export VERSION=$(git describe --abbrev=4)
sed -i "s|VERSION \"git\"|VERSION \"$VERSION\"|" src/platform/visualc/config.h
echo ::set-env name=VERSION::$VERSION
- name: Build
shell: pwsh
env: