fix build
This commit is contained in:
parent
79b4d5fb8e
commit
a96b8a4e07
4
.github/workflows/build-windows.yml
vendored
4
.github/workflows/build-windows.yml
vendored
@ -17,8 +17,8 @@ jobs:
|
|||||||
- name: Release Version
|
- name: Release Version
|
||||||
id: release_version
|
id: release_version
|
||||||
run: |
|
run: |
|
||||||
app_version=$(cat version.py |sed -ne "s/APP_VERSION\s=\s'v\(.*\)'/\1/gp")
|
$app_version = Select-String -Path "version.py" -Pattern "APP_VERSION\s=\s'v(.*)'" | ForEach-Object { $_.Matches.Groups[1].Value }
|
||||||
echo "app_version=$app_version" >> $GITHUB_ENV
|
$env:GITHUB_ENV += "app_version=$app_version"
|
||||||
|
|
||||||
- name: Generate Release
|
- name: Generate Release
|
||||||
id: generate_release
|
id: generate_release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user