From c77dbeb0809e57b6ebdf075b7d6fad389d1514a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ton=C4=87i=20Vatavuk?= Date: Thu, 21 Jan 2021 16:20:42 +0100 Subject: [PATCH] fix issue with naming nuget package for oqtane and add support for installing more packages for different runtimes in same oqtane installation --- Src/Package/pack.cmd | 6 +++--- Src/Package/release.cmd | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Src/Package/pack.cmd b/Src/Package/pack.cmd index 186ae42..031a8a4 100644 --- a/Src/Package/pack.cmd +++ b/Src/Package/pack.cmd @@ -6,11 +6,11 @@ rmdir /Q/S "..\Server\bin\Release\net5.0\publish" dotnet publish ..\Server\ToSic.ImageFlow.Oqt.Server.csproj /p:Configuration=Release @REM By convention if you place the oqtane module root folder at the same level as the oqtane framework, then you will not have to modify any folder configuration. "..\..\..\oqtane.framework\oqtane.package\nuget.exe" pack ToSic.ImageFlow.Oqt.win.nuspec -ren ToSic.ImageFlow.Oqt.*.nupkg *.win.nupkg +ren ToSic.ImageFlow.Oqt.????.????.????.nupkg ToSic.ImageFlow.Oqt.????.????.????-win.nupkg move /Y "*.nupkg" "..\..\InstallPackages" "..\..\..\oqtane.framework\oqtane.package\nuget.exe" pack ToSic.ImageFlow.Oqt.linux.nuspec -ren ToSic.ImageFlow.Oqt.*.nupkg *.linux.nupkg +ren ToSic.ImageFlow.Oqt.????.????.????.nupkg ToSic.ImageFlow.Oqt.????.????.????-linux.nupkg move /Y "*.nupkg" "..\..\InstallPackages" "..\..\..\oqtane.framework\oqtane.package\nuget.exe" pack ToSic.ImageFlow.Oqt.osx.nuspec -ren ToSic.ImageFlow.Oqt.*.nupkg *.osx.nupkg +ren ToSic.ImageFlow.Oqt.????.????.????.nupkg ToSic.ImageFlow.Oqt.????.????.????-osx.nupkg move /Y "*.nupkg" "..\..\InstallPackages" diff --git a/Src/Package/release.cmd b/Src/Package/release.cmd index 6614a6b..6d2de49 100644 --- a/Src/Package/release.cmd +++ b/Src/Package/release.cmd @@ -4,5 +4,6 @@ rmdir /Q/S "..\Server\bin\Release\net5.0\publish" dotnet publish ..\Server\ToSic.ImageFlow.Oqt.Server.csproj /p:Configuration=Release @REM By convention if you place the oqtane module root folder at the same level as the oqtane framework, then you will not have to modify any folder configuration. "..\..\..\oqtane.framework\oqtane.package\nuget.exe" pack ToSic.ImageFlow.Oqt.nuspec +ren ToSic.ImageFlow.Oqt.????.????.????.nupkg ToSic.ImageFlow.Oqt.????.????.????-all.nupkg xcopy "*.nupkg" "..\..\..\oqtane.framework\Oqtane.Server\wwwroot\Modules\" /Y move /Y "*.nupkg" "..\..\InstallPackages"