From aa0fbdd5df4f94eaeab4be8809b5600cae22f9b7 Mon Sep 17 00:00:00 2001 From: prod2 Date: Fri, 13 Jan 2023 22:06:47 +0100 Subject: [PATCH] readme, build script update --- Readme.md | 2 +- release.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 9583786..0531b1b 100644 --- a/Readme.md +++ b/Readme.md @@ -4,7 +4,7 @@ 2. Go to the directory where fskalc is located 3. Run `dotnet restore` to restore the `obj/` directory 4. Run `dotnet run` for debug run -5. `./release.sh` for release run, the binary will be found in bin/Release/net6.0//publish/fskalc +5. `./release.sh` for release run, the binary will be found in bin/Release/net//publish/fskalc, and also will be copied to the active directory # Reference diff --git a/release.sh b/release.sh index b445921..2743077 100755 --- a/release.sh +++ b/release.sh @@ -1 +1,2 @@ -dotnet publish -c Release -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true \ No newline at end of file +dotnet publish -c Release -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true +cp bin/Release/net7.0/linux-x64/publish/fskalc . \ No newline at end of file