mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-10 11:36:07 +08:00
ci: 修复自动发布
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
id: get_version
|
||||
shell: pwsh
|
||||
run: |
|
||||
[xml]$props = Get-Content ".Directory.Build.props"
|
||||
[xml]$props = Get-Content "Directory.Build.props"
|
||||
# 确保选择包含Version的PropertyGroup
|
||||
$version = $props.Project.PropertyGroup.Version
|
||||
echo "Detected version: $version"
|
||||
|
||||
Reference in New Issue
Block a user