diff --git a/.drone.yml b/.drone.yml index 725e1f6d..0bda1095 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,12 +11,12 @@ steps: - name: build image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - dotnet nuget locals global-packages --list - cd ./build - chmod 755 ./build.sh - ./build.sh - echo "${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}\n">./publish/version.txt - echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt + - dotnet nuget locals global-packages --list - name: publish image: plugins/s3 diff --git a/build/build.cmd b/build/build.cmd index 4e19d595..6ef4d1f3 100644 --- a/build/build.cmd +++ b/build/build.cmd @@ -1 +1 @@ -dotnet publish -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish +dotnet publish -v normal -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish diff --git a/build/build.sh b/build/build.sh index 0e2287b2..6ef4d1f3 100644 --- a/build/build.sh +++ b/build/build.sh @@ -1 +1 @@ -dotnet publish -v diag -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish +dotnet publish -v normal -c Release -r win-x64 ../code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host -o ./publish