|
@ -12,10 +12,9 @@ steps: |
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0 |
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0 |
|
|
commands: |
|
|
commands: |
|
|
- cd ./build |
|
|
- cd ./build |
|
|
- pwd |
|
|
|
|
|
- ls |
|
|
|
|
|
- chmod 755 ./build.sh |
|
|
- chmod 755 ./build.sh |
|
|
- ./build.sh |
|
|
# - ./build.sh |
|
|
|
|
|
- mkdir publish |
|
|
- echo "${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}\n">./publish/version.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 |
|
|
- echo ${DRONE_COMMIT_MESSAGE}>./publish/version.txt |
|
|
- ls publish |
|
|
- ls publish |
|
|