From 5f4d4ac6f7b95d5ba32eb2a6d372c50bcc7d47f4 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Wed, 20 Sep 2023 13:56:57 +0800 Subject: [PATCH] test drone --- .drone.yml | 2 +- build/build.cmd | 2 +- build/build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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