Skip to content

Commit de4cbca

Browse files
authored
Merge pull request #28 from PepperDash/feature/4-series
Feature/4 series
2 parents 809fb79 + 61b8c51 commit de4cbca

19 files changed

Lines changed: 743 additions & 631 deletions
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build Essentials Plugin
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
getVersion:
10+
uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-getversion.yml@main
11+
secrets: inherit
12+
13+
build-4Series:
14+
uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-4Series-builds.yml@main
15+
secrets: inherit
16+
needs: getVersion
17+
if: needs.getVersion.outputs.newVersion == 'true'
18+
with:
19+
newVersion: ${{ needs.getVersion.outputs.newVersion }}
20+
version: ${{ needs.getVersion.outputs.version }}
21+
tag: ${{ needs.getVersion.outputs.tag }}
22+
channel: ${{ needs.getVersion.outputs.channel }}

.github/workflows/essentialsplugins-betabuilds-caller.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/essentialsplugins-releasebuilds-caller.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
name: Generate README
3+
4+
on:
5+
push:
6+
branches-ignore:
7+
- 'robot-docs'
8+
9+
jobs:
10+
call-update-readme:
11+
uses: PepperDash/workflow-templates/.github/workflows/update-readme.yml@development
12+
with:
13+
target-branch: ${{ github.ref_name }}
14+
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 10.00
3-
# Visual Studio 2008
4-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PDT.EssentialsPluginTemplate.EPI", "PDT.EssentialsPluginTemplate.EPI.csproj", "{9D249E47-8F95-4437-A6BB-563510287AD1}"
5-
EndProject
6-
Global
7-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8-
Debug|Any CPU = Debug|Any CPU
9-
Release|Any CPU = Release|Any CPU
10-
EndGlobalSection
11-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12-
{9D249E47-8F95-4437-A6BB-563510287AD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13-
{9D249E47-8F95-4437-A6BB-563510287AD1}.Debug|Any CPU.Build.0 = Debug|Any CPU
14-
{9D249E47-8F95-4437-A6BB-563510287AD1}.Release|Any CPU.ActiveCfg = Release|Any CPU
15-
{9D249E47-8F95-4437-A6BB-563510287AD1}.Release|Any CPU.Build.0 = Release|Any CPU
16-
EndGlobalSection
17-
GlobalSection(SolutionProperties) = preSolution
18-
HideSolutionNode = FALSE
19-
EndGlobalSection
20-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 10.00
3+
# Visual Studio 2008
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "epi-make-model.3Series", "src\epi-make-model.3Series.csproj", "{9D249E47-8F95-4437-A6BB-563510287AD1}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{9D249E47-8F95-4437-A6BB-563510287AD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{9D249E47-8F95-4437-A6BB-563510287AD1}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{9D249E47-8F95-4437-A6BB-563510287AD1}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{9D249E47-8F95-4437-A6BB-563510287AD1}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(SolutionProperties) = preSolution
18+
HideSolutionNode = FALSE
19+
EndGlobalSection
20+
EndGlobal

epi-make-model.4Series.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.11.35327.3
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "epi-make-model.4Series", "src\epi-make-model.4Series.csproj", "{52E6E0A0-A710-4B5F-AF52-08816F5C99BB}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{52E6E0A0-A710-4B5F-AF52-08816F5C99BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{52E6E0A0-A710-4B5F-AF52-08816F5C99BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{52E6E0A0-A710-4B5F-AF52-08816F5C99BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{52E6E0A0-A710-4B5F-AF52-08816F5C99BB}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {45BE70E2-A4DC-4851-92ED-CE67B99F5D86}
24+
EndGlobalSection
25+
EndGlobal

packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<packages>
2-
<package id="PepperDashEssentials" version="1.10.2" targetFramework="net35" allowedVersions="[1.0,2.0)"/>
2+
<package id="PepperDashEssentials" version="1.16.1" targetFramework="net35" allowedVersions="[1.0,2.0)"/>
33
</packages>

releaserc.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"plugins": [
3+
[
4+
"@semantic-release/commit-analyzer",
5+
{
6+
"releaseRules": [
7+
{ "scope": "force-patch", "release": "patch" },
8+
{ "scope": "no-release", "release": false }
9+
]
10+
}
11+
],
12+
"@semantic-release/release-notes-generator",
13+
["@semantic-release/changelog",
14+
{
15+
"changelogFile": "CHANGELOG.md"
16+
}
17+
],
18+
[
19+
"@semantic-release/exec",
20+
{
21+
"verifyReleaseCmd": "echo \"newVersion=true\" >> $GITHUB_OUTPUT",
22+
"publishCmd": "echo \"version=${nextRelease.version}\" >> $GITHUB_OUTPUT && echo \"tag=${nextRelease.gitTag}\" >> $GITHUB_OUTPUT && echo \"type=${nextRelease.type}\" >> $GITHUB_OUTPUT && echo \"channel=${nextRelease.channel}\" >> $GITHUB_OUTPUT"
23+
}
24+
]
25+
],
26+
"branches": [
27+
"main",
28+
{
29+
"name": "replace-me-feature-branch",
30+
"prerelease": "replace-me-prerelease",
31+
"channel": "replace-me-prerelease"
32+
}
33+
]
34+
}

src/Directory.Build.props

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Version>1.0.0-local</Version>
4+
<InformationalVersion>$(Version)</InformationalVersion>
5+
<Authors>PepperDash Technologies</Authors>
6+
<Company>PepperDash Technologies</Company>
7+
<Product>PepperDash Essentials Plugin Template</Product>
8+
<Copyright>Copyright © 2025</Copyright>
9+
<RepositoryUrl>https://github.com/PepperDash/EssentialsPluginTemplate.git</RepositoryUrl>
10+
<RepositoryType>git</RepositoryType>
11+
<PackageTags>Crestron; 4series</PackageTags>
12+
<PackageOutputPath>../output</PackageOutputPath>
13+
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
14+
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
15+
<PackageReadmeFile>README.md</PackageReadmeFile>
16+
</PropertyGroup>
17+
<ItemGroup>
18+
<None Include="..\LICENSE.md" Pack="true" PackagePath=""/>
19+
<None Include="..\README.md" Pack="true" PackagePath=""/>
20+
</ItemGroup>
21+
</Project>

src/Directory.Build.targets

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project>
2+
<ItemGroup>
3+
<None Include="$(TargetDir)\$(TargetName).$(Version).cpz" Condition="$(ProjectType) == 'Program'">
4+
<Pack>true</Pack>
5+
<PackagePath>content;</PackagePath>
6+
</None>
7+
<None Include="$(PackageOutputPath)\$(TargetName).$(Version).cplz" Condition="$(ProjectType) == 'ProgramLibrary'">
8+
<Pack>true</Pack>
9+
<PackagePath>content;</PackagePath>
10+
</None>
11+
</ItemGroup>
12+
<Target Name="Create CPLZ" AfterTargets="Build; Rebuild" Condition="$(ProjectType) == 'ProgramLibrary'">
13+
<Message Text="Creating CPLZ"></Message>
14+
<MakeDir Directories="$(PackageOutputPath)" Condition="!Exists($(PackageOutputPath))"></MakeDir>
15+
<ZipDirectory SourceDirectory="$(TargetDir)" DestinationFile="$(PackageOutputPath)\$(TargetName).$(Version).cplz" Overwrite="true"/>
16+
</Target>
17+
<Target Name="Clean CPLZ" AfterTargets="AfterClean" Condition="$(ProjectType) == 'ProgramLibrary'">
18+
<Delete Files="$(PackageOutputPath)\$(TargetName).$(Version).cplz"/>
19+
</Target>
20+
</Project>

0 commit comments

Comments
 (0)