Skip to content

Commit

Permalink
fix issue with naming nuget package for oqtane and add support for in…
Browse files Browse the repository at this point in the history
…stalling more packages for different runtimes in same oqtane installation
  • Loading branch information
tvatavuk committed Jan 21, 2021
1 parent f6950dd commit c77dbeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Src/Package/pack.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions Src/Package/release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit c77dbeb

Please sign in to comment.