Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #9

Merged
merged 14 commits into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
version: 2
updates:
- package-ecosystem: "nuget"
- package-ecosystem: nuget
directory: "/"
schedule:
interval: "daily"
time: "08:00"
ignore:
- dependency-name: "Umbraco.Cms.*"
- dependency-name: "Umbraco.Core.*"
target-branch: "dev"
time: "04:00"
commit-message:
prefix: "chore"
include: "scope"
target-branch: "dev"

- package-ecosystem: npm
directory: "/"
schedule:
interval: "daily"
time: "04:00"
commit-message:
prefix: "chore"
include: "scope"
target-branch: "dev"
20 changes: 8 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
name: Build
name: 🏗️ Build
on:
pull_request:
branches: "*"
workflow_dispatch:
jobs:
metadata:
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@main
build:
permissions:
contents: write
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-release-template.yml@main
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-template.yml@main
needs:
- metadata
with:
project-name: 'jcdcdev.Umbraco.Core'
project-path: './src/jcdcdev.Umbraco.Core/jcdcdev.Umbraco.Core.csproj'
deploy: false
color-primary: '#5d584d'
color-secondary: '#73573c'
color-tertiary: '#aba377'
secrets:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
project-name: ${{ needs.metadata.outputs.project-name }}
project-path: ${{ needs.metadata.outputs.project-path }}
28 changes: 16 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
name: Release
name: 🚀 Release
on:
pull_request:
branches: [ "main" ]
types: [ closed ]
workflow_dispatch:
jobs:
build_release:
metadata:
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@main
build:
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-template.yml@main
needs:
- metadata
with:
project-name: ${{ needs.metadata.outputs.project-name}}
project-path: ${{ needs.metadata.outputs.project-path }}
release:
needs:
- build
permissions:
contents: write
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-release-template.yml@main
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/release-template.yml@main
with:
project-name: 'jcdcdev.Umbraco.Core'
project-path: './src/jcdcdev.Umbraco.Core/jcdcdev.Umbraco.Core.csproj'
deploy: true
color-primary: '#5d584d'
color-secondary: '#73573c'
color-tertiary: '#aba377'
artifact-name: ${{ needs.build.outputs.artifact-name }}
version: ${{ needs.build.outputs.version }}
secrets:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
18 changes: 18 additions & 0 deletions .github/workflows/update-releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 📄 Update Releases
on:
workflow_dispatch:
inputs:
start-version:
required: true
default: '0.1.0'
end-version:
required: true
default: '999.999.999'
jobs:
update-releases:
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/update-all-releases.yml@main
permissions:
contents: write
with:
start-version: ${{ inputs.start-version}}
end-version: ${{ inputs.end-version}}
Binary file added docs/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion src/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[*]
max_line_length = 200
indent_style = tab
indent_style = space
indent_size = 4
tab_width = 4
insert_final_newline = true
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

# ReSharper properties
resharper_braces_redundant = false
Expand Down
4 changes: 2 additions & 2 deletions src/TestSite.10/TestSite.10.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Umbraco.Cms" Version="10.4.0"/>
<PackageReference Include="Umbraco.Cms" Version="10.8.5"/>
</ItemGroup>

<ItemGroup>
<!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms -->
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9"/>
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="72.1.0.3"/>
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2.0.9" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))"/>
</ItemGroup>

Expand Down
Loading
Loading