diff --git a/StagingAreaTests/Utils.fs b/StagingAreaTests/Utils.fs index e2f44ef..2bd950b 100644 --- a/StagingAreaTests/Utils.fs +++ b/StagingAreaTests/Utils.fs @@ -20,10 +20,10 @@ type Assert with Assert.Equal(0, exitCode) static member ContainsFrontmatter (script: string) = - Assert.True( - script.StartsWith(Frontmatter.frontMatterStart, StringComparison.Ordinal) && - script.Contains(Frontmatter.frontMatterEnd) - ) + let containsCommentFrontmatter = script.StartsWith(Frontmatter.frontMatterCommentStart, StringComparison.Ordinal) && script.Contains(Frontmatter.frontMatterCommentEnd) + let containsBindingFrontmatter = script.StartsWith(Frontmatter.frontmatterBindingStart, StringComparison.Ordinal) && script.Contains(Frontmatter.frontmatterBindingEnd) + Assert.True(containsCommentFrontmatter || containsBindingFrontmatter) + static member FileNameValid(path:string) = let fileName = Path.GetFileName(path) diff --git a/src/AVPRIndex/AVPRIndex.fsproj b/src/AVPRIndex/AVPRIndex.fsproj index fe833b7..c0542b6 100644 --- a/src/AVPRIndex/AVPRIndex.fsproj +++ b/src/AVPRIndex/AVPRIndex.fsproj @@ -16,7 +16,7 @@ git $([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/RELEASE_NOTES.md")) README.md - 0.0.8 + 0.1.0 diff --git a/src/AVPRIndex/RELEASE_NOTES.md b/src/AVPRIndex/RELEASE_NOTES.md index 8b808e3..1d3c032 100644 --- a/src/AVPRIndex/RELEASE_NOTES.md +++ b/src/AVPRIndex/RELEASE_NOTES.md @@ -1,3 +1,7 @@ +## v0.1.0 + +Add support for in-package frontmatter bindings. Enables re-use of the frontmatter inside the package code + ## v0.0.8 - Fix content hash being dependent on line endings (now, all content is normalized to \n before hashing) - Fix code duplication in create functions for `ValidationPackageIndex`