@halospv3/hce.shared-config 3.0.0-develop.19 → 3.0.0-develop.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dotnet/ZipPublishDir.targets +24 -29
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.0.0-develop.20](https://github.com/HaloSPV3/HCE.Shared/compare/v3.0.0-develop.19...v3.0.0-develop.20) (2025-08-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **dotnet.ZPD:** beware of case-insensitive property names! Prefix private props with '_'; fix invalid condition expressions; add conditions to assignments ([60a25ce](https://github.com/HaloSPV3/HCE.Shared/commit/60a25ce54202e31003491e32016e47dd990acd4e))
|
|
6
|
+
* **dotnet.ZPD:** fix placeholders PropertyGroup condition almost always evaluating to `true` ([44f2fc4](https://github.com/HaloSPV3/HCE.Shared/commit/44f2fc4af1caf3d14c4fe27ba27154d79094a7a3))
|
|
7
|
+
|
|
1
8
|
## [3.0.0-develop.19](https://github.com/HaloSPV3/HCE.Shared/compare/v3.0.0-develop.18...v3.0.0-develop.19) (2025-08-07)
|
|
2
9
|
|
|
3
10
|
### Bug Fixes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<Project>
|
|
2
2
|
<PropertyGroup>
|
|
3
3
|
<RepoRoot Condition="'$(RepoRoot)' == '' And '$(ProjectRootDir)' != ''">$(ProjectRootDir)</RepoRoot>
|
|
4
|
-
<RepoRoot Condition="'$(RepoRoot)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), '.git
|
|
5
|
-
<RepoRootPublishDir>$(RepoRoot)
|
|
4
|
+
<RepoRoot Condition="'$(RepoRoot)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), $([System.IO.Path]::Join('.git','index'))))</RepoRoot>
|
|
5
|
+
<RepoRootPublishDir>$([System.IO.Path]::Join("$(RepoRoot)", "publish"))</RepoRootPublishDir>
|
|
6
6
|
<PackageOutputPath Condition="'$(PackageOutputPath)' == ''">$(RepoRootPublishDir)</PackageOutputPath>
|
|
7
7
|
</PropertyGroup>
|
|
8
8
|
|
|
@@ -26,25 +26,22 @@
|
|
|
26
26
|
- RuntimeIdentifier
|
|
27
27
|
-->
|
|
28
28
|
<AppendVariantArgs Condition="'$(AppendVariantArgs)' == ''">true</AppendVariantArgs>
|
|
29
|
-
|
|
30
|
-
<appendVarArgs>$(AppendVariantArgs)</appendVarArgs>
|
|
31
|
-
<RepoRootPublishDir>$(RepoRoot)/publish</RepoRootPublishDir>
|
|
32
|
-
|
|
29
|
+
<_appendVarArgs>$(AppendVariantArgs)</_appendVarArgs>
|
|
33
30
|
<!-- Only add Configuration when Debug -->
|
|
34
|
-
<
|
|
31
|
+
<_dbgCfg Condition="'$(Configuration)' == 'Debug'">$(Configuration)</_dbgCfg>
|
|
35
32
|
<!-- "net6.0 win7-x86"
|
|
36
33
|
"Debug net6.0 win7-x86" -->
|
|
37
|
-
<
|
|
38
|
-
<
|
|
34
|
+
<_spaceArgs Condition="'$(VariantArgs)' != ''">$(VariantArgs.Replace(";"," ").Trim())</_spaceArgs>
|
|
35
|
+
<_spaceArgs Condition="'$(_spaceArgs)' == ''">$([System.String]::Join(' ',$(_dbgCfg), $(TargetFramework), $(RuntimeIdentifier)).Trim())</_spaceArgs>
|
|
39
36
|
<!-- " (Debug net6.0 win7-x86)"
|
|
40
37
|
" (net6.0 win7-x86)"
|
|
41
38
|
"" -->
|
|
42
|
-
<
|
|
39
|
+
<_enclosedVArgs Condition="$(_appendVarArgs) And '$(_spaceArgs)' != ''"> ($(_spaceArgs))</_enclosedVArgs>
|
|
43
40
|
<!-- " 1.2.3-preview.4"
|
|
44
41
|
"" -->
|
|
45
|
-
<
|
|
42
|
+
<_spaceVersion Condition="'$(Version)' != ''"> $(Version)</_spaceVersion>
|
|
46
43
|
<!-- "C:\Repos\HaloSPV3\HXE\publish\HXE 1.2.3-preview.4 (net6.0 win7-x86).zip" -->
|
|
47
|
-
<DestinationFile>$(RepoRootPublishDir)
|
|
44
|
+
<DestinationFile>$([System.IO.Path]::Join("$(RepoRootPublishDir)", "$(AssemblyName)$(_spaceVersion)$(_enclosedVArgs).zip"))</DestinationFile>
|
|
48
45
|
<!-- todo: look into .NET 8 SDK's Artifacts feature -->
|
|
49
46
|
</PropertyGroup>
|
|
50
47
|
|
|
@@ -54,33 +51,31 @@
|
|
|
54
51
|
DestinationFile="$(DestinationFile)"
|
|
55
52
|
Overwrite="true" />
|
|
56
53
|
|
|
57
|
-
|
|
54
|
+
<Message Text="Publish assets zipped to '$(DestinationFile)'." Importance="high"/>
|
|
58
55
|
</Target>
|
|
59
56
|
|
|
60
57
|
<!-- placeholder values for HCE.Shared ONLY -->
|
|
61
|
-
<PropertyGroup Condition="$([System.String]::Copy($(
|
|
62
|
-
<Configuration>Release</Configuration>
|
|
63
|
-
<TargetFramework>net6.0</TargetFramework>
|
|
64
|
-
<RuntimeIdentifier>win7-x86</RuntimeIdentifier>
|
|
65
|
-
<RuntimeIdentifiers
|
|
66
|
-
<ZipPublishDir_AppendVariantArgs>true</ZipPublishDir_AppendVariantArgs>
|
|
58
|
+
<PropertyGroup Condition="$([System.String]::Copy($(RepoRoot)).ToLowerInvariant().Contains('hce.shared'))">
|
|
59
|
+
<Configuration Condition="'$(Configuration)'==''">Release</Configuration>
|
|
60
|
+
<TargetFramework Condition="'$(TargetFramework)'==''">net6.0</TargetFramework>
|
|
61
|
+
<RuntimeIdentifier Condition="'$(RuntimeIdentifiers)'=='' AND '$(RuntimeIdentifier)'==''">win7-x86</RuntimeIdentifier>
|
|
62
|
+
<RuntimeIdentifiers Condition="'$(RuntimeIdentifiers)'==''">win7-x86;win7-x64</RuntimeIdentifiers>
|
|
63
|
+
<ZipPublishDir_AppendVariantArgs Condition="'$(ZipPublishDir_AppendVariantArgs)'==''">true</ZipPublishDir_AppendVariantArgs>
|
|
67
64
|
<!-- <VariantArgs>$(MSBuildProjectName);$(Configuration)</VariantArgs> -->
|
|
68
65
|
|
|
69
66
|
<!-- -->
|
|
70
67
|
|
|
71
|
-
<
|
|
72
|
-
<
|
|
68
|
+
<_appendVarArgs>$(ZipPublishDir_AppendVariantArgs)</_appendVarArgs>
|
|
69
|
+
<_dbgCfg Condition="'$(Configuration)' == 'Debug'">$(Configuration)</_dbgCfg>
|
|
73
70
|
<!-- "net6.0 win7-x86" -->
|
|
74
|
-
<
|
|
75
|
-
<
|
|
71
|
+
<_spaceArgs Condition="'$(VariantArgs)'!=''">$(VariantArgs.Replace(";"," ").Trim())</_spaceArgs>
|
|
72
|
+
<_spaceArgs Condition="'$(_spaceArgs)'==''">$([System.String]::Join(' ',$(_dbgCfg), $(TargetFramework), $(RuntimeIdentifier)).Trim())</_spaceArgs>
|
|
76
73
|
<!-- " (net6.0 win7-x86)" -->
|
|
77
|
-
<
|
|
74
|
+
<_enclosedVArgs Condition="'$(_appendVarArgs)' == 'true' And '$(_spaceArgs)' != ''"> ($(_spaceArgs))</_enclosedVArgs>
|
|
78
75
|
<!-- "win7-x86 win7-x64" -->
|
|
79
|
-
<
|
|
76
|
+
<_spaceSeparatedRIDs Condition="$(RuntimeIdentifiers) != ''">$(RuntimeIdentifiers.ToString().Replace(";"," ").Trim())</_spaceSeparatedRIDs>
|
|
80
77
|
<!-- " (win7-x86 win7-x64)" -->
|
|
81
|
-
<enclosedRIDs Condition="$(
|
|
82
|
-
<Version>1.0.0</
|
|
83
|
-
<version Condition="'$(Version)' != ''"> $(Version)</version>
|
|
84
|
-
|
|
78
|
+
<enclosedRIDs Condition="'$(_appendVarArgs)' == 'true' And '$(_spaceSeparatedRIDs)' != ''"> ($(_spaceSeparatedRIDs))</enclosedRIDs>
|
|
79
|
+
<_spaceVersion Condition="'$(Version)' == ''"> 1.0.0</_spaceVersion>
|
|
85
80
|
</PropertyGroup>
|
|
86
81
|
</Project>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@halospv3/hce.shared-config",
|
|
3
|
-
"version": "3.0.0-develop.
|
|
3
|
+
"version": "3.0.0-develop.20",
|
|
4
4
|
"description": "Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"halo",
|