From cf19272724e6a12e35a83df5f592190f7e46bbb0 Mon Sep 17 00:00:00 2001 From: Kevin Schneider Date: Wed, 13 Mar 2024 16:09:11 +0100 Subject: [PATCH] fix preview index url --- scripts/generate-preview-index.fsx | 2 +- scripts/pre-publish-checks.fsx | 2 +- src/AVPRIndex/AVPRIndex.fsproj | 2 +- src/AVPRIndex/AVPRRepo.fs | 2 +- src/AVPRIndex/RELEASE_NOTES.md | 5 +++++ 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/generate-preview-index.fsx b/scripts/generate-preview-index.fsx index a3a26c5..5fe54e4 100644 --- a/scripts/generate-preview-index.fsx +++ b/scripts/generate-preview-index.fsx @@ -1,4 +1,4 @@ -#r "nuget: AVPRIndex, 0.0.4" +#r "nuget: AVPRIndex, 0.0.7" open AVPRIndex open System.IO diff --git a/scripts/pre-publish-checks.fsx b/scripts/pre-publish-checks.fsx index 93b3a0c..88083e9 100644 --- a/scripts/pre-publish-checks.fsx +++ b/scripts/pre-publish-checks.fsx @@ -1,5 +1,5 @@ #r "nuget: dotenv.net, 3.1.3" -#r "nuget: AVPRIndex, 0.0.6" +#r "nuget: AVPRIndex, 0.0.7" #r "nuget: AVPRClient, 0.0.4" #r "nuget: FsHttp, 14.5.0" diff --git a/src/AVPRIndex/AVPRIndex.fsproj b/src/AVPRIndex/AVPRIndex.fsproj index 7adf085..277a51a 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.6 + 0.0.7 diff --git a/src/AVPRIndex/AVPRRepo.fs b/src/AVPRIndex/AVPRRepo.fs index 0de18fe..275a9cb 100644 --- a/src/AVPRIndex/AVPRRepo.fs +++ b/src/AVPRIndex/AVPRRepo.fs @@ -31,7 +31,7 @@ type AVPRRepo = static member getPreviewIndex() = try http { - GET "https://github.com/nfdi4plants/arc-validate-package-registry/releases/download/preview-index/arc-validate-package-index.json" + GET "https://github.com/nfdi4plants/arc-validate-package-registry/releases/download/preview-index/avpr-preview-index.json" } |> Request.send |> Response.deserializeJson diff --git a/src/AVPRIndex/RELEASE_NOTES.md b/src/AVPRIndex/RELEASE_NOTES.md index 5fe6c12..31f2ecc 100644 --- a/src/AVPRIndex/RELEASE_NOTES.md +++ b/src/AVPRIndex/RELEASE_NOTES.md @@ -1,4 +1,9 @@ +## v0.0.7 + +fix preview index download url + ## v0.0.6 + - Refactor and expose parsing & convenience functions: - Frontmatter - containsFrontmatter