Skip to content

Commit eb0e0f4

Browse files
committed
Fix the path for Directory Build Props
1 parent 18b5b63 commit eb0e0f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
run: |
5050
git config --local user.email "action@github.com"
5151
git config --local user.name "GitHub Action"
52-
$version = (Select-String -Path "source/TimeWarp.OptionsValidation/Directory.Build.props" -Pattern '<Version>(.*?)</Version>').Matches.Groups[1].Value
52+
$version = (Select-String -Path "Directory.Build.props" -Pattern '<Version>(.*?)</Version>').Matches.Groups[1].Value
5353
git tag -a "$version" -m "Release $version"
5454
git push origin "$version"
5555
5656
- name: Check if version is not a beta
5757
id: check_beta
5858
run: |
59-
$version = (Select-String -Path "source/TimeWarp.OptionsValidation/Directory.Build.props" -Pattern '<Version>(.*?)</Version>').Matches.Groups[1].Value
59+
$version = (Select-String -Path "Directory.Build.props" -Pattern '<Version>(.*?)</Version>').Matches.Groups[1].Value
6060
$isBeta = $version -match '-beta'
6161
echo "IsBeta=$isBeta"
6262
# Setting output that indicates whether it's a beta version

0 commit comments

Comments
 (0)