From 5c6c8afa21bd15650f298ececead2b02230ef660 Mon Sep 17 00:00:00 2001 From: James Friel Date: Fri, 22 Sep 2023 09:14:06 +0100 Subject: [PATCH] update readme to correct build procedure --- README.md | 13 ++++++------- SharedAssemblyInfo.cs | 6 +++--- hicplugin.nuspec | 12 ++++++++++++ 3 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 hicplugin.nuspec diff --git a/README.md b/README.md index dcf73e7..bc5d223 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,17 @@ # HICPlugin ## Building +Before Building, ensure the version numbe ris correct within the hicplugin.nuspec and sharedAssembly.info file +You will also need 7zip or an equivalent installed. You can build this plugin ready for upload to an RDMP instance using: ```bash -cd Plugin/windows -dotnet publish --runtime win-x64 -c Release --self-contained false -cd ../main -dotnet publish -c Release --self-contained false -cd ../.. -nuget pack ./HIC.Plugin.nuspec -Properties Configuration=Release -IncludeReferencedProjects -Symbols -Version 6.1.0 +dotnet publish -p:DebugType=embedded -p:GenerateDocumentation=false Plugin/windows/windows.csproj -c Release -o p/windows +dotnet publish -p:DebugType=embedded -p:GenerateDocumentation=false Plugin/main/main.csproj -c Release -o p/main +7z a -tzip Rdmp.Hic.Plugin.6.1.0.nupkg hicplugin.nuspec p +dotnet run --project RDMP/Tools/rdmp/rdmp.csproj -c Release -- pack -p --file Rdmp.Hic.Plugin.6.1.0.nupkg --dir yaml ``` -_Use the version number in SharedAssembly.info in pace of 6.1.0_ Once built you will have a file called `Rdmp.Hic.Plugin.6.1.0.nupkg` diff --git a/SharedAssemblyInfo.cs b/SharedAssemblyInfo.cs index 246fabb..b24d1ac 100644 --- a/SharedAssemblyInfo.cs +++ b/SharedAssemblyInfo.cs @@ -10,6 +10,6 @@ [assembly: AssemblyCulture("")] // These should be overwritten by release builds -[assembly: AssemblyVersion("6.2.0")] -[assembly: AssemblyFileVersion("6.2.0")] -[assembly: AssemblyInformationalVersion("6.2.0-rc1")] +[assembly: AssemblyVersion("6.1.0")] +[assembly: AssemblyFileVersion("6.1.0")] +[assembly: AssemblyInformationalVersion("6.1.0")] diff --git a/hicplugin.nuspec b/hicplugin.nuspec new file mode 100644 index 0000000..784c20b --- /dev/null +++ b/hicplugin.nuspec @@ -0,0 +1,12 @@ + + + + Rdmp.HICPlugin + 6.1.0 + Health Informatics Service, University of Dundee + Imaging plugin for Research Data Management Platform + + + + +