Skip to content

Commit

Permalink
Merge pull request #76 from HicServices/update-to-8.1.0
Browse files Browse the repository at this point in the history
Update to 8.1.0
  • Loading branch information
bpeacock001 authored Sep 28, 2023
2 parents 711fd8b + 687c09a commit a44b500
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: HicServices/RDMP
ref: feature/rc4
ref: develop
path: RDMP
- uses: actions/setup-dotnet@v1
with:
Expand Down Expand Up @@ -51,6 +51,8 @@ jobs:
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
rm p/windows/windows.dll
rm p/main/main.dll
cmd /c 7z a -tzip HIC.Extensions.nupkg plugin.nuspec p
dotnet run --project RDMP/Tools/rdmp/rdmp.csproj -c Release -- pack -p --file HIC.Extensions.nupkg --dir yaml
dotnet run --project RDMP/Tools/rdmp/rdmp.csproj -c Release -- cmd listsupportedcommands --dir yaml
Expand Down
2 changes: 1 addition & 1 deletion RDMP
Submodule RDMP updated 258 files
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
# RdmpExtensions

## Building
Before Building, ensure the version number is correct within the rdmpextension.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.Extensions.nuspec -Properties Configuration=Release -IncludeReferencedProjects -Symbols -Version 3.0.1
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.Extensions.Plugin.6.2.0.nupkg rdmpextension.nuspec p
dotnet run --project RDMP/Tools/rdmp/rdmp.csproj -c Release -- pack -p --file Rdmp.Extensions.Plugin.6.2.0.nupkg --dir yaml
```
_Use the version number in SharedAssembly.info in pace of 3.0.1_

Once built you will have a file called `Rdmp.Hic.Plugin.3.0.1.nupkg`
Once built you will have a file called ` Rdmp.Extensions.Plugin.6.2.0.nupkg`

Upload it to RDMP using

```bash
./rdmp pack -f Z:\Repos\HICPlugin\HIC.Extensions.3.0.1.nupkg
./rdmp pack -f Z:\Repos\RdmpExtensions\Rdmp.Extensions.Plugin.6.2.0.nupkg
```
_Upload into RDMP. Or use the gui client 'Plugins' node under the Tables(Advanced) toolbar button_
12 changes: 12 additions & 0 deletions rdmpextension.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Rdmp.Extensions</id>
<version>6.2.0</version>
<authors>Health Informatics Service, University of Dundee</authors>
<description>Imaging plugin for Research Data Management Platform </description>
<dependencies>
<dependency id="HIC.RDMP.Plugin" version="8.1.0" />
</dependencies>
</metadata>
</package>

0 comments on commit a44b500

Please sign in to comment.