Skip to content

Commit 051d132

Browse files
committed
FIX update build scripts
1 parent 386170d commit 051d132

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

build.bat

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ if exist %MS_COMMUNITY_PATH% (
1010
rem publish netcore client
1111
dotnet publish -f netcoreapp2.0 .\NetCoreSender\NetCoreSender.csproj -r win7-x64
1212
dotnet publish -f netcoreapp2.0 .\NetCoreReceiver\NetCoreReceiver.csproj -r win7-x64
13-
dotnet publish -f netcoreapp2.0 .\NetCoreConnector\NetCoreConnector.csproj -r win7-x64
13+
dotnet publish -f netcoreapp2.0 .\NetCoreConnector\NetCoreConnector.csproj -r win7-x64
14+
15+
dotnet publish -f netcoreapp2.0 .\NetCoreSender\NetCoreSender.csproj -r rhel.7-x64
16+
dotnet publish -f netcoreapp2.0 .\NetCoreReceiver\NetCoreReceiver.csproj -r rhel.7-x64
17+
dotnet publish -f netcoreapp2.0 .\NetCoreConnector\NetCoreConnector.csproj -r rhel.7-x64

build.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ dotnet build -f netcoreapp2.0 ./NetCoreSender/NetCoreSender.csproj
33
dotnet build -f netcoreapp2.0 ./NetCoreReceiver/NetCoreReceiver.csproj
44
dotnet build -f netcoreapp2.0 ./NetCoreConnector/NetCoreConnector.csproj
55

6-
dotnet publish -f netcoreapp2.0 ./NetCoreSender/NetCoreSender.csproj
7-
dotnet publish -f netcoreapp2.0 ./NetCoreReceiver/NetCoreReceiver.csproj
8-
dotnet publish -f netcoreapp2.0 ./NetCoreConnector/NetCoreConnector.csproj
6+
dotnet publish -f netcoreapp2.0 ./NetCoreSender/NetCoreSender.csproj -r rhel.7-x64
7+
dotnet publish -f netcoreapp2.0 ./NetCoreReceiver/NetCoreReceiver.csproj -r rhel.7-x64
8+
dotnet publish -f netcoreapp2.0 ./NetCoreConnector/NetCoreConnector.csproj -r rhel.7-x64
99

1010
rm ./dist/netcore -rf
1111
mkdir ./dist/netcore -p
12-
cp ./NetCoreSender/bin/Debug/netcoreapp2.0/publish/*.{dll,json} ./dist/netcore
13-
cp ./NetCoreReceiver/bin/Debug/netcoreapp2.0/publish/*.{dll,json} ./dist/netcore
14-
cp ./NetCoreConnector/bin/Debug/netcoreapp2.0/publish/*.{dll,json} ./dist/netcore
12+
cp ./NetCoreSender/bin/Debug/netcoreapp2.0/rhel.7-x64/* ./dist/netcore
13+
cp ./NetCoreReceiver/bin/Debug/netcoreapp2.0/rhel.7-x64/* ./dist/netcore
14+
cp ./NetCoreConnector/bin/Debug/netcoreapp2.0/rhel.7-x64/* ./dist/netcore
15+
16+
cd dist/netcore && zip -r amqpnetlitecore.zip .

0 commit comments

Comments
 (0)