@halospv3/hce.shared-config 3.1.0-develop.1 → 3.1.0-develop.3
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 +14 -0
- package/dotnet/PublishAll.targets +40 -15
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.1.0-develop.3](https://github.com/HaloSPV3/HCE.Shared/compare/v3.1.0-develop.2...v3.1.0-develop.3) (2025-11-08)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **deps:** update dependency @eslint/json to ^0.14.0 ([26da95a](https://github.com/HaloSPV3/HCE.Shared/commit/26da95aa74977618fc70c31143eef957b116b3d6))
|
|
6
|
+
|
|
7
|
+
## [3.1.0-develop.2](https://github.com/HaloSPV3/HCE.Shared/compare/v3.1.0-develop.1...v3.1.0-develop.2) (2025-11-07)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **dotnet.PublishAll:** rewrite internal targets ([#501](https://github.com/HaloSPV3/HCE.Shared/issues/501)) ([f1634f2](https://github.com/HaloSPV3/HCE.Shared/commit/f1634f2b8b89488e9c32d94564c510135b53b91c))
|
|
12
|
+
* **dotnet.PublishAll:** rewrite internal targets to fix TFM-RID publish matrix ([523cc59](https://github.com/HaloSPV3/HCE.Shared/commit/523cc59f2abb2936bf174673fe5b8e73c17b44b1))
|
|
13
|
+
* **dotnet.PublishAll:** set Configuration to "Release" if PublishRelease ([f1fe5f7](https://github.com/HaloSPV3/HCE.Shared/commit/f1fe5f74183fb1ccdd00997f9a1d2448b2a93060))
|
|
14
|
+
|
|
1
15
|
## [3.1.0-develop.1](https://github.com/HaloSPV3/HCE.Shared/compare/v3.0.0...v3.1.0-develop.1) (2025-11-07)
|
|
2
16
|
|
|
3
17
|
### Features
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- `dotnet -t:PublishAll -p:Configuration=Release` will publish all permutations derived from TargetFrameworks and RuntimeIdentifiers
|
|
2
|
-
!Beware: No compatibility checks are performed!
|
|
2
|
+
!Beware: No compatibility checks are performed!
|
|
3
3
|
netstandard2.0 + PublishSingleFile may cause errors! Weirdly, net480 + linux-x64 builds AND runs on both WSL and Windows...
|
|
4
4
|
|
|
5
5
|
Based on https://stackoverflow.com/a/43951971/14894786
|
|
6
6
|
Licensed under CC BY-SA 3.0
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
?Ask yourself "Do I *really* need multi-targeting?"
|
|
9
9
|
If you want to target netstandard2.0, then just do that. It's forward-compatible.
|
|
10
10
|
If you want that AND you want conditional access to .NET 5+ stuff, then multi-target.
|
|
@@ -17,30 +17,55 @@
|
|
|
17
17
|
Note: "PlatformTarget" (CPU arch) is overridden by RuntimeIdentifier.
|
|
18
18
|
-->
|
|
19
19
|
<Project>
|
|
20
|
+
<PropertyGroup>
|
|
21
|
+
<Configuration Condition="'$(PublishRelease)' == 'true'">Release</Configuration>
|
|
22
|
+
</PropertyGroup>
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Condition="
|
|
24
|
-
|
|
25
|
-
<Target Name="_PublishProjectForAllFrameworksAndRuntimes"
|
|
26
|
-
Condition=" '$(TargetFramework)' == '' And '$(RuntimeIdentifiers)' != '' ">
|
|
24
|
+
<!-- If !TargetFramework, iterate through TargetFrameworks -->
|
|
25
|
+
<Target Name="_PublishAll_AllFrameworks"
|
|
26
|
+
Condition=" '$(TargetFramework)' == '' ">
|
|
27
27
|
<ItemGroup>
|
|
28
28
|
<_PublishFramework Include="$(TargetFrameworks)" />
|
|
29
|
-
<_PublishRuntime Include="$(RuntimeIdentifiers)" />
|
|
30
29
|
</ItemGroup>
|
|
31
30
|
|
|
32
|
-
<
|
|
31
|
+
<Message Text="_PublishAll_AllFrameworks:
|
|
32
|
+
TargetFramework: $(TargetFramework)
|
|
33
|
+
TargetFrameworks: $(TargetFrameworks)
|
|
34
|
+
_PublishFramework: $(_PublishFramework)
|
|
35
|
+
RuntimeIdentifier: $(RuntimeIdentifier)
|
|
36
|
+
RuntimeIdentifiers: $(RuntimeIdentifiers)" />
|
|
37
|
+
|
|
38
|
+
<Error Condition=" '$(TargetFrameworks)' == '' " Text="Both TargetFramework and TargetFrameworks are undefined!" />
|
|
39
|
+
|
|
40
|
+
<MSBuild Projects="$(MSBuildProjectFile)" Targets="_PublishAll_OneFramework" Properties="TargetFramework=%(_PublishFramework.Identity)" />
|
|
33
41
|
</Target>
|
|
34
42
|
|
|
35
|
-
|
|
36
|
-
|
|
43
|
+
<!-- If TargetFramework, iterate through RuntimeIdentifiers or RuntimeIdentifier -->
|
|
44
|
+
<Target Name="_PublishAll_OneFramework"
|
|
45
|
+
Condition=" '$(TargetFramework)' != ''">
|
|
37
46
|
<ItemGroup>
|
|
38
|
-
<
|
|
47
|
+
<_PublishRuntime Condition=" '$(RuntimeIdentifier)' != '' " Include="$(RuntimeIdentifier)"/>
|
|
48
|
+
<_PublishRuntime Condition=" '$(_PublishRuntime)' == '' " Include="$(RuntimeIdentifiers)" />
|
|
39
49
|
</ItemGroup>
|
|
40
|
-
|
|
50
|
+
|
|
51
|
+
<Message Text="_PublishAll_OneFramework:
|
|
52
|
+
TargetFramework: $(TargetFramework)
|
|
53
|
+
TargetFrameworks: $(TargetFrameworks)
|
|
54
|
+
_PublishFramework: $(_PublishFramework)
|
|
55
|
+
RuntimeIdentifier: %(_PublishRuntime.Identity)
|
|
56
|
+
RuntimeIdentifiers: $(RuntimeIdentifiers)
|
|
57
|
+
_PublishRuntime: @(_PublishRuntime)" />
|
|
58
|
+
|
|
59
|
+
<Error Condition="'$(RuntimeIdentifier)' == '' AND '$(RuntimeIdentifiers)' == ''"
|
|
60
|
+
Text="Both RuntimeIdentifier and RuntimeIdentifiers are undefined!" />
|
|
61
|
+
|
|
62
|
+
<MSBuild Condition=" `@(_PublishRuntime->'%(Identity)')` != '' "
|
|
63
|
+
Projects="$(MSBuildProjectFile)" Targets="Publish" Properties="TargetFramework=$(TargetFramework);RuntimeIdentifier=%(_PublishRuntime.Identity)" />
|
|
64
|
+
<MSBuild Condition=" `@(_PublishRuntime->'%(Identity)')` == '' "
|
|
65
|
+
Projects="$(MSBuildProjectFile)" Targets="Publish" Properties="TargetFramework=$(TargetFramework)" />
|
|
41
66
|
</Target>
|
|
42
67
|
|
|
43
68
|
<!-- TODO: PublishProfileNames, PublishProfileName -->
|
|
44
69
|
<Target Name="PublishAll"
|
|
45
|
-
DependsOnTargets="
|
|
70
|
+
DependsOnTargets="_PublishAll_AllFrameworks;_PublishAll_OneFramework" />
|
|
46
71
|
</Project>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@halospv3/hce.shared-config",
|
|
3
|
-
"version": "3.1.0-develop.
|
|
3
|
+
"version": "3.1.0-develop.3",
|
|
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",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@commitlint/config-conventional": "^20.0.0",
|
|
64
64
|
"@dotenvx/dotenvx": "^1.47.6",
|
|
65
65
|
"@eslint/js": "^9.31.0",
|
|
66
|
-
"@eslint/json": "^0.
|
|
66
|
+
"@eslint/json": "^0.14.0",
|
|
67
67
|
"@semantic-release/changelog": "^6.0.3",
|
|
68
68
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
69
69
|
"@semantic-release/exec": "^7.1.0",
|