Browse Source

add log.txt for publish

master
wanggang 1 year ago
parent
commit
7518b39c2b
  1. 1
      .drone.yml

1
.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

Loading…
Cancel
Save