Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
insomnious committed Jul 23, 2024
1 parent bcb7111 commit 576c708
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
$version = [xml](Get-Content $csprojPath) | Select-Xml -XPath "//PropertyGroup/Version" | ForEach-Object { $_.Node.InnerXml }
}
$semver = $version -replace '(\d+\.\d+\.\d+)\.\d+', '$1' # Convert to semver by stripping the 4th part
echo "semver=$semver"
echo "version=$version"
echo "tag=v$semver"
echo "semver=$semver" >> $GITHUB_OUTPUT
echo "version=$version" >> $GITHUB_OUTPUT
echo "tag=v$semver" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 576c708

Please sign in to comment.