Skip to content

Commit

Permalink
Fix automatic package version
Browse files Browse the repository at this point in the history
  • Loading branch information
albi005 committed Apr 11, 2023
1 parent 7d8f8be commit a7f3bd0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
Import-Module .\.github\workflows\GetBuildVersion.psm1
Write-Host $Env:GITHUB_REF
$version = GetBuildVersion -VersionString $Env:GITHUB_REF
echo "BUILD_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
echo "VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
shell: pwsh

- name: Setup .NET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>

<Version>0.1.0</Version>
<Description>Wraps MaterialColorUtilities to make it super simple to add beautiful Material You dynamic theming to your .NET MAUI app.</Description>
<Version Condition="$(Version) == ''">0.1.0</Version>
<Description>Material You dynamic theming for .NET MAUI</Description>
<PackageProjectUrl>https://github.com/albi005/MaterialColorUtilities</PackageProjectUrl>
<RepositoryUrl>https://github.com/albi005/MaterialColorUtilities</RepositoryUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
Expand All @@ -29,7 +29,7 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Copyright>Copyright 2021-2022 Google LLC and project contributors</Copyright>
<Copyright>Copyright 2021-2023 Google LLC and project contributors</Copyright>

<IsTrimmable>true</IsTrimmable>

Expand Down
8 changes: 4 additions & 4 deletions MaterialColorUtilities/MaterialColorUtilities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.1.0</Version>
<Description>C# implementation of the Material Design Color Utilities. Can be used to extract a color from an image and then generate a Material Design 3 color scheme from it.</Description>
<Version Condition="$(Version) == ''">0.1.0</Version>
<Description>C# implementation of Google's Material color utilities</Description>
<PackageProjectUrl>https://github.com/albi005/MaterialColorUtilities</PackageProjectUrl>
<RepositoryUrl>https://github.com/albi005/MaterialColorUtilities</RepositoryUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<Authors>albi05</Authors>

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Copyright>Copyright 2021-2022 Google LLC and project contributors</Copyright>
<Copyright>Copyright 2021-2023 Google LLC and project contributors</Copyright>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit a7f3bd0

Please sign in to comment.