Skip to content

Commit

Permalink
Print out buildpack version when it runs
Browse files Browse the repository at this point in the history
  • Loading branch information
macsux committed Feb 11, 2022
1 parent c85c09f commit 459be2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2021.3.0" />
<PackageReference Include="Nerdbank.GitVersioning" Version="3.4.255">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/KerberosBuildpack/KerberosBuildpack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class KerberosBuildpack : SupplyBuildpack

protected override void Apply(AbsolutePath buildPath, AbsolutePath cachePath, AbsolutePath depsPath, int index)
{
Console.WriteLine("==== Installing Kerberos Buildpack ==== ");
Console.WriteLine($"==== Installing Kerberos Buildpack v{ThisAssembly.AssemblyFileVersion} ==== ");
var myDependenciesDirectory = depsPath / index.ToString(); // store any runtime dependencies not belonging to the app in this directory
var krb5Dir = buildPath / ".krb5";

Expand Down

0 comments on commit 459be2b

Please sign in to comment.