Skip to content

Commit cb20fba

Browse files
authored
Merge pull request #991 from ElectronNET/develop
Release 0.3.1
2 parents bdfbcd5 + 89cdf2f commit cb20fba

File tree

13 files changed

+26
-20
lines changed

13 files changed

+26
-20
lines changed

.github/workflows/retry-test-jobs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
echo "Inspecting jobs of workflow run $RUN_ID in $REPO"
2929
30-
jobs_json="$(gh api repos/$REPO/actions/runs/$RUN_ID/jobs)"
30+
jobs_json="$(gh api -R $REPO repos/$REPO/actions/runs/$RUN_ID/jobs)"
3131
3232
echo "Jobs and conclusions:"
3333
echo "$jobs_json" | jq '.jobs[] | {name: .name, conclusion: .conclusion}'
@@ -44,7 +44,7 @@ jobs:
4444
4545
if [ "$failed_matrix_jobs" -gt 0 ]; then
4646
echo "Detected failing Integration Tests jobs – re-running failed jobs for this run."
47-
gh run rerun "$RUN_ID" --failed
47+
gh run rerun -R $REPO "$RUN_ID" --failed
4848
else
4949
echo "Only non-matrix jobs (like Test Results) failed – not auto-rerunning."
5050
fi

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 0.3.1
2+
3+
## ElectronNET.Core
4+
5+
- Fixed issue transforming the project ID (#989, #990) @softworkz
6+
17
# 0.3.0
28

39
## ElectronNET.Core

docs/Core/Migration-Checks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ A `package.json` file **is allowed** in the `ElectronHostHook` folder if you're
4141

4242
```xml
4343
<PropertyGroup Label="ElectronNetCommon">
44-
<PackageId>my-electron-app</PackageId>
44+
<ElectronPackageId>my-electron-app</ElectronPackageId>
4545
<Title>My Electron App</Title>
4646
<Version>1.0.0</Version>
4747
<Description>My awesome Electron.NET application</Description>

docs/GettingStarted/Console-App.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Add the Electron.NET configuration to your `.csproj` file:
5454
</PropertyGroup>
5555

5656
<ItemGroup>
57-
<PackageReference Include="ElectronNET.Core" Version="0.3.0" />
57+
<PackageReference Include="ElectronNET.Core" Version="0.3.1" />
5858
</ItemGroup>
5959
```
6060

docs/Using/Configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ These are the current default values when you don't make any changes:
2525
<ElectronSingleInstance>true</ElectronSingleInstance>
2626
<ElectronSplashScreen></ElectronSplashScreen>
2727
<ElectronIcon></ElectronIcon>
28-
<PackageId>$(MSBuildProjectName.Replace(".", "-").ToLower())</PackageId>
28+
<ElectronPackageId>$(MSBuildProjectName.Replace(".", "-").ToLower())</ElectronPackageId>
2929
<ElectronBuilderJson>electron-builder.json</ElectronBuilderJson>
3030
<Title>$(MSBuildProjectName)</Title>
3131
</PropertyGroup>
@@ -38,15 +38,15 @@ Since electron builder still expects a `package.json` file to exist, ElectronNET
3838

3939
```json
4040
{
41-
"name": "$(PackageId)",
41+
"name": "$(ElectronPackageId)",
4242
"productName": "$(ElectronTitle)",
4343
"build": {
44-
"appId": "$(PackageId)",
44+
"appId": "$(ElectronPackageId)",
4545
"linux": {
4646
"desktop": {
4747
"entry": { "Name": "$(Title)" }
4848
},
49-
"executableName": "$(PackageId)"
49+
"executableName": "$(ElectronPackageId)"
5050
},
5151
"deb": {
5252
"desktop": {

src/ElectronNET.ConsoleApp/ElectronNET.ConsoleApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<ProjectReference Include="..\ElectronNET.API\ElectronNET.API.csproj" Condition="$(ElectronNetDevMode)" />
7171
</ItemGroup>
7272
<ItemGroup>
73-
<PackageReference Include="ElectronNET.Core" Version="0.3.0" Condition="'$(ElectronNetDevMode)' != 'true'" />
73+
<PackageReference Include="ElectronNET.Core" Version="0.3.1" Condition="'$(ElectronNetDevMode)' != 'true'" />
7474
</ItemGroup>
7575

7676
<Import Project="..\ElectronNET\build\ElectronNET.Core.targets" Condition="$(ElectronNetDevMode)" />

src/ElectronNET.WebApp/ElectronNET.WebApp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
<ProjectReference Include="..\ElectronNET.AspNet\ElectronNET.AspNet.csproj" Condition="$(ElectronNetDevMode)" />
7777
</ItemGroup>
7878
<ItemGroup>
79-
<PackageReference Include="ElectronNET.Core" Version="0.3.0" Condition="'$(ElectronNetDevMode)' != 'true'" />
80-
<PackageReference Include="ElectronNET.Core.AspNet" Version="0.3.0" Condition="'$(ElectronNetDevMode)' != 'true'" />
79+
<PackageReference Include="ElectronNET.Core" Version="0.3.1" Condition="'$(ElectronNetDevMode)' != 'true'" />
80+
<PackageReference Include="ElectronNET.Core.AspNet" Version="0.3.1" Condition="'$(ElectronNetDevMode)' != 'true'" />
8181
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="5.9.3" />
8282
</ItemGroup>
8383

src/ElectronNET/build/ElectronNET.Core.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<ElectronSplashScreen></ElectronSplashScreen>
1010
<ElectronIcon></ElectronIcon>
1111
<PackageIcon></PackageIcon>
12-
<PackageId>$(MSBuildProjectName.Replace(".", "-").ToLower())</PackageId>
12+
<ElectronPackageId>$(MSBuildProjectName.Replace(".", "-").ToLower())</ElectronPackageId>
1313
<ElectronBuilderJson>electron-builder.json</ElectronBuilderJson>
1414
<Title>$(MSBuildProjectName)</Title>
1515
</PropertyGroup>

src/ElectronNET/build/ElectronNET.Core.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<PropertyGroup Condition="'$(ElectronExecutable)' == ''">
55
<WinPrefix>win</WinPrefix>
66
<ElectronExecutable Condition="'$(RuntimeIdentifier.StartsWith($(WinPrefix)))' == 'true'">$(Title)</ElectronExecutable>
7-
<ElectronExecutable Condition="'$(RuntimeIdentifier.StartsWith($(WinPrefix)))' != 'true'">$(PackageId)</ElectronExecutable>
7+
<ElectronExecutable Condition="'$(RuntimeIdentifier.StartsWith($(WinPrefix)))' != 'true'">$(ElectronPackageId)</ElectronExecutable>
88
</PropertyGroup>
99

1010
<PropertyGroup>

src/ElectronNET/build/ElectronNET.LateImport.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
</PropertyGroup>
125125

126126
<ItemGroup>
127-
<TemplateProperty Include="PackageId" Value="$(PackageId)" />
127+
<TemplateProperty Include="ElectronPackageId" Value="$(ElectronPackageId)" />
128128
<TemplateProperty Include="Title" Value="$(Title)" />
129129
<TemplateProperty Include="ElectronTitle" Value="$(ElectronTitle)" />
130130
<TemplateProperty Include="Version" Value="$(Version)" />
@@ -452,7 +452,7 @@
452452

453453
<PropertyGroup>
454454
<ElectronPaParams></ElectronPaParams>
455-
<ElectronPaParams Condition="'$(PackageId)' != ''">$(ElectronPaParams) -c.appId &quot;$(PackageId)&quot;</ElectronPaParams>
455+
<ElectronPaParams Condition="'$(ElectronPackageId)' != ''">$(ElectronPaParams) -c.appId &quot;$(ElectronPackageId)&quot;</ElectronPaParams>
456456
<ElectronPaParams Condition="'$(Version)' != ''">$(ElectronPaParams) -c.buildVersion &quot;$(Version)&quot;</ElectronPaParams>
457457
<ElectronPaParams Condition="'$(Copyright)' != ''">$(ElectronPaParams) -c.copyright &quot;$(Copyright)&quot;</ElectronPaParams>
458458
<ElectronPaParams>$(ElectronPaParams) -c.extraResources &quot;bin/**/*&quot;</ElectronPaParams>

0 commit comments

Comments
 (0)