Update version in config.h and resource script
This commit is contained in:
parent
9efa980b05
commit
f89416a20a
2 changed files with 13 additions and 6 deletions
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue