Skip to content

Commit 0e485e7

Browse files
authored
Update dotnet.yml
Version regex
1 parent 6c4dcc9 commit 0e485e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH
3939
#VERSION_FILE_PATH: # optional
4040
# Regex pattern to extract version info in a capturing group
41-
#VERSION_REGEX: # optional, default is ^\s*<Version>(.*)<\/Version>\s*$
41+
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$
4242
# Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX
4343
#VERSION_STATIC: # optional
4444
# Flag to toggle git tagging, enabled by default

0 commit comments

Comments
 (0)