We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33d7c79 commit 4f5f610Copy full SHA for 4f5f610
BlazorCanvas2d/BlazorCanvas2d.csproj
@@ -12,11 +12,11 @@
12
<!--
13
Package versioning:
14
- On tag builds: use the tag name (optionally prefixed with 'v').
15
- - On PR/branch builds (e.g. refs/pull/*/merge where GITHUB_REF_NAME can contain '/'):
16
- use a valid SemVer pre-release so `dotnet restore` doesn't fail.
+ - On non-tag CI builds: use a SemVer pre-release based on the run number.
+ - Locally: use a fixed SemVer version.
17
-->
18
<Version
19
- Condition="'$(GITHUB_REF_NAME)' != '' and $([System.String]::Copy('$(GITHUB_REF_NAME)').Contains('/')) == 'false'"
+ Condition="'$(Version)' == '' and '$(GITHUB_REF_TYPE)' == 'tag' and '$(GITHUB_REF_NAME)' != ''"
20
>
21
$(GITHUB_REF_NAME.TrimStart('v'))
22
</Version>
0 commit comments