Skip to content

Commit 28a27ba

Browse files
authored
Only override VersionPrefix if it has no value
This prevents the targets from overwriting an envvar specified in the CI workflow.
1 parent 1ec6385 commit 28a27ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
after the fixed prefix. This allows dogfooding a branch build.
113113
The suffix is sanitized and optionally turned into
114114
-->
115-
<VersionPrefix>42.42.42</VersionPrefix>
115+
<VersionPrefix Condition="$(VersionPrefix) == ''">42.42.42</VersionPrefix>
116116
</PropertyGroup>
117117

118118
<PropertyGroup Label="Version" Condition="$(VersionLabel) != ''">

0 commit comments

Comments
 (0)