From 7518b39c2b5fd7636085d0a146ff2decfba829bf Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Thu, 21 Sep 2023 15:15:15 +0800 Subject: [PATCH] add log.txt for publish --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index a09f6265..b8b39130 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,6 +15,7 @@ steps: - cd ./build - chmod 755 ./build.sh - ./build.sh + - 'git --no-pager log --date=format:"%Y-%m-%d %H:%M:%S" --pretty=format:"%h - %ad %cn: %s %b" --invert-grep --grep="CI SKIP" --grep="drone" >log.txt' - 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