Skip to content

Commit

Permalink
Updated the package to target Umbraco 13 😎
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Feb 9, 2024
1 parent 967dfe0 commit f8761a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ public static bool TryGetGuid(this IPublishedElement? element, string alias, [No
/// <param name="alias">The alias of the property.</param>
/// <param name="fallback">The fallback value.</param>
/// <returns>An instance of <see cref="string"/> if successful; otherwise, <paramref name="fallback"/>.</returns>
[return: NotNullIfNotNull("fallback")]
[return: NotNullIfNotNull(nameof(fallback))]
public static string? GetString(this IPublishedElement? element, string alias, string? fallback) {
string? value = element?.Value<string>(alias);
return string.IsNullOrWhiteSpace(value) ? fallback : value;
Expand Down
12 changes: 6 additions & 6 deletions src/Skybrud.Essentials.Umbraco/Skybrud.Essentials.Umbraco.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

<PropertyGroup>
<LangVersion>12.0</LangVersion>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<VersionPrefix>10.0.0</VersionPrefix>
<VersionPrefix>13.0.0-alpha000</VersionPrefix>
<VersionSuffix Condition="'$(Configuration)'=='Debug'">build$([System.DateTime]::UtcNow.ToString(`yyyyMMddHHmm`))</VersionSuffix>
<Authors>Anders Bjerner</Authors>
<Company>Limbo</Company>
<Product>Skybrud.Essentials</Product>
<Description>Skybrud.Essentials addon for working with Umbraco 10+.</Description>
<Description>Skybrud.Essentials addon for working with Umbraco 13.</Description>
<Copyright>Copyright © $([System.DateTime]::UtcNow.ToString(`yyyy`))</Copyright>
</PropertyGroup>

Expand All @@ -31,9 +31,9 @@
<!-- Include NuGet dependencies -->
<ItemGroup>
<PackageReference Include="Skybrud.Essentials" Version="1.1.56" />
<PackageReference Include="Umbraco.Cms.Core" Version="[10.0.0,12.999)" />
<PackageReference Include="Umbraco.Cms.Web.Website" Version="[10.0.0,12.999)" />
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="[10.0.0,12.999)" />
<PackageReference Include="Umbraco.Cms.Core" Version="[13.0.0,13.999)" />
<PackageReference Include="Umbraco.Cms.Web.Website" Version="[13.0.0,13.999)" />
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="[13.0.0,13.999)" />
</ItemGroup>

<!-- Include package icon for NuGet -->
Expand Down

0 comments on commit f8761a8

Please sign in to comment.