Skip to content

Commit

Permalink
migrate to .rdmp extention
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Mar 22, 2024
1 parent 1549e84 commit c315498
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,18 @@ jobs:
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.Rdmp.Extensions.Plugin.${{ steps.version.outputs.version }}.nupkg plugin.nuspec p
dotnet run --project RDMP/Tools/rdmp/rdmp.csproj -c Release -- pack -p --file HIC.Rdmp.Extensions.Plugin.${{ steps.version.outputs.version }}.nupkg --dir yaml
cmd /c 7z a -tzip HIC.Rdmp.Extensions.Plugin.${{ steps.version.outputs.version }}.rdmp plugin.nuspec p
dotnet run --project RDMP/Tools/rdmp/rdmp.csproj -c Release -- pack -p --file HIC.Rdmp.Extensions.Plugin.${{ steps.version.outputs.version }}.rdmp --dir yaml
dotnet run --project RDMP/Tools/rdmp/rdmp.csproj -c Release -- cmd listsupportedcommands --dir yaml
- name: Store created nupkg files
- name: Store created rdmp files
uses: actions/upload-artifact@v4
with:
path: ./*.nupkg
path: ./*.rdmp
retention-days: 1
- name: Upload release binaries
if: contains(github.ref,'refs/tags/')
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: 'HIC.Rdmp.Extensions.Plugin.${{ steps.version.outputs.version }}.nupkg'
file: 'HIC.Rdmp.Extensions.Plugin.${{ steps.version.outputs.version }}.rdmp'
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ You can build this plugin ready for upload to an RDMP instance using:
```bash
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.1.nupkg rdmpextension.nuspec p
dotnet run --project RDMP/Tools/rdmp/rdmp.csproj -c Release -- pack -p --file Rdmp.Extensions.Plugin.6.2.1.nupkg --dir yaml
7z a -tzip Rdmp.Extensions.Plugin.6.2.1.rdmp rdmpextension.nuspec p
dotnet run --project RDMP/Tools/rdmp/rdmp.csproj -c Release -- pack -p --file Rdmp.Extensions.Plugin.6.2.1.rdmp --dir yaml
```

Once built you will have a file called ` Rdmp.Extensions.Plugin.6.2.1.nupkg`. The last step (with the '-p' switch to the pack command) strips out all the duplicated DLLs which are already provided within RDMP.
Once built you will have a file called ` Rdmp.Extensions.Plugin.6.2.1.rdmp`. The last step (with the '-p' switch to the pack command) strips out all the duplicated DLLs which are already provided within RDMP.

Upload it to RDMP using

```bash
./rdmp pack -f Z:\Repos\RdmpExtensions\Rdmp.Extensions.Plugin.6.2.1.nupkg
./rdmp pack -f Z:\Repos\RdmpExtensions\Rdmp.Extensions.Plugin.6.2.1.rdmp
```
_Upload into RDMP. Or use the gui client 'Plugins' node under the Tables(Advanced) toolbar button_

0 comments on commit c315498

Please sign in to comment.