Skip to content

Commit

Permalink
Fix staging area tests, release [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Apr 25, 2024
1 parent 0049cf9 commit 8a2fb7c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions StagingAreaTests/Utils.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/AVPRIndex/AVPRIndex.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/RELEASE_NOTES.md"))</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageVersion>0.0.8</PackageVersion>
<PackageVersion>0.1.0</PackageVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions src/AVPRIndex/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down

0 comments on commit 8a2fb7c

Please sign in to comment.