Skip to content

Commit

Permalink
fix: Adding ProjectType to csproj, moving Directory.Build.x to src
Browse files Browse the repository at this point in the history
  • Loading branch information
AECohn committed May 1, 2024
1 parent 4add530 commit f1387c0
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/EssentialsPlugins-builds-caller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Essentials Plugin

on:
push:
branches:
- '**'

jobs:
getVersion:
uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-getversion.yml@main
secrets: inherit
build-3Series:
uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-3Series-builds.yml@main
secrets: inherit
needs: getVersion
if: needs.getVersion.outputs.newVersion == 'true'
with:
newVersion: ${{ needs.getVersion.outputs.newVersion }}
version: ${{ needs.getVersion.outputs.version }}
tag: ${{ needs.getVersion.outputs.tag }}
channel: ${{ needs.getVersion.outputs.channel }}
build-4Series:
uses: PepperDash/workflow-templates/.github/workflows/essentialsplugins-4Series-builds.yml@main
secrets: inherit
needs: getVersion
if: needs.getVersion.outputs.newVersion == 'true'
with:
newVersion: ${{ needs.getVersion.outputs.newVersion }}
version: ${{ needs.getVersion.outputs.version }}
tag: ${{ needs.getVersion.outputs.tag }}
channel: ${{ needs.getVersion.outputs.channel }}
Empty file added LICENSE.md
Empty file.
Binary file not shown.
34 changes: 34 additions & 0 deletions releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{ "scope": "force-patch", "release": "patch" },
{ "scope": "no-release", "release": false }
]
}
],
"@semantic-release/release-notes-generator",
["@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/exec",
{
"verifyReleaseCmd": "echo \"newVersion=true\" >> $GITHUB_OUTPUT",
"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"
}
]
],
"branches": [
"main",
{
"name": "replace-me-feature-branch",
"prerelease": "replace-me-prerelease",
"channel": "replace-me-prerelease"
}
]
}
2 changes: 1 addition & 1 deletion Directory.Build.props → src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Authors>PepperDash Technologies</Authors>
<Company>PepperDash Technologies</Company>
<Product>PepperDash Samsung MDC Display</Product>
<Copyright>Copyright © 2023</Copyright>
<Copyright>Copyright © 2024</Copyright>
<RepositoryUrl>https://github.com/PepperDash/epi-samsung-mdc-dispaly.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Crestron; 4series</PackageTags>
Expand Down
File renamed without changes.
10 changes: 9 additions & 1 deletion src/epi-display-samsung-mdc.4Series.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<ProjectType>ProgramLibrary</ProjectType>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>net472</TargetFramework>
Expand Down Expand Up @@ -32,4 +36,8 @@
<None Remove="PepperDashPluginSamsungMdcDisplay.projectinfo" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="PepperDashEssentials" Version="2.0.0-beta-2431" />
</ItemGroup>

</Project>

0 comments on commit f1387c0

Please sign in to comment.