Skip to content

Commit c15843a

Browse files
committed
Track installer project sources
1 parent ecd0bfe commit c15843a

5 files changed

Lines changed: 1704 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@ jobs:
2626
shell: pwsh
2727
run: dotnet restore ReciPro\ReciPro.csproj
2828

29+
- name: Confirm installer project sources
30+
shell: pwsh
31+
run: |
32+
# (260405Ch) Fail early with a clear message if installer project sources were not committed to GitHub.
33+
$requiredSources = @(
34+
"ReciProSetup\ReciProSetup.vdproj",
35+
"ReciProSetup\EnableLaunchApplication.js",
36+
"LICENSE.rtf",
37+
"REQUIREMENT.rtf"
38+
)
39+
40+
$missingSources = $requiredSources | Where-Object { -not (Test-Path $_) }
41+
if ($missingSources.Count -gt 0) {
42+
throw "Installer source files are missing from the checkout: $($missingSources -join ', ')"
43+
}
44+
2945
- name: Read release info from Version.cs
3046
id: version_info
3147
shell: pwsh

0 commit comments

Comments
 (0)