File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments