- In the project folder, run the following command:
dotnet publish -p:Configuration=Release -p:PublishTrimmed=true -p:SelfContained=true -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:UseAppHost=true --runtime linux-x64
-
Go to
src\bin\Release\net5.0\linux-x64\publish
and renameMetricsIntegrator
tometrics-integrator-X.Y.Z-ubuntu-x64
, whereX
,Y
amdZ
are the version number -
Add the renamed file to a zip file with the following name:
metrics-integrator-X.Y.Z-ubuntu-x64.zip
-
Move the zip to dist/
X
.x/X.Y.Z
- In the project folder, run the following command:
dotnet publish -p:Configuration=Release -p:PublishTrimmed=true -p:SelfContained=true -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true --runtime osx-x64
-
Go to
src\bin\Release\net5.0\osx-x64\publish
and renameMetricsIntegrator
tometrics-integrator-X.Y.Z-osx-x64
, whereX
,Y
amdZ
are the version number -
Run the following command:
chmod +x
metrics-integrator-X.Y.Z-osx-x64
-
Add the renamed file to a zip file with the following name:
metrics-integrator-X.Y.Z-osx-x64.zip
-
Move the zip to dist/
X
.x/X.Y.Z
- In the project folder, run the following command:
dotnet publish -p:Configuration=Release -p:PublishTrimmed=true -p:SelfContained=true -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true --runtime win-x64
-
Go to
src\bin\Release\net5.0\windows-x64\publish
and renameMetricsIntegrator.exe
tometrics-integrator-X.Y.Z-windows-x64.exe
, whereX
,Y
amdZ
are the version number -
Add the renamed file to a zip file with the following name:
metrics-integrator-X.Y.Z-windows-x64.zip
-
Move the zip to dist/
X
.x/X.Y.Z