Skip to content

Commit c01d630

Browse files
Avoid dependabot error
Avoid "not a valid version string" error when dependabot jobs run.
1 parent 1bf789b commit c01d630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<AssemblyVersion>0.5.0.0</AssemblyVersion>
4848
<VersionPrefix>0.5.2</VersionPrefix>
4949
</PropertyGroup>
50-
<PropertyGroup Condition=" '$(GITHUB_ACTIONS)' != '' ">
50+
<PropertyGroup Condition=" '$(GITHUB_ACTIONS)' != '' AND '$(DEPENDABOT_JOB_ID)' == '' ">
5151
<VersionSuffix Condition=" '$(VersionSuffix)' == '' AND '$(GITHUB_HEAD_REF)' == '' ">beta.$(GITHUB_RUN_NUMBER)</VersionSuffix>
5252
<VersionSuffix Condition=" '$(VersionSuffix)' == '' AND '$(GITHUB_HEAD_REF)' != '' ">pr.$(GITHUB_REF_NAME.Replace('/merge', '')).$(GITHUB_RUN_NUMBER)</VersionSuffix>
5353
<VersionPrefix Condition=" $(GITHUB_REF.StartsWith(`refs/tags/v`)) ">$(GITHUB_REF.Replace('refs/tags/v', ''))</VersionPrefix>

0 commit comments

Comments
 (0)