You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
743 B

kind: pipeline
type: docker
name: RadarrSharp
environment:
BUILD_NUM_SINCE_LAST_MINOR_VERSION: 17
steps:
- name: init
image: busybox
commands:
- echo 'Starting build pipeline for RadarrSharp'
- echo ${DRONE_BUILD_NUMBER}
- echo "$((${DRONE_BUILD_NUMBER}-15))"
- echo Revision is $((${DRONE_BUILD_NUMBER}-$BUILD_NUM_SINCE_LAST_MINOR_VERSION))
- name: test
image: mcr.microsoft.com/dotnet/sdk:5.0
commands:
- ls
- dotnet build
#- dotnet pack -p:Version=1.0.3 -o .
- ls
#- dotnet nuget push *.nupkg --api-key oy2adzrarabcfh2xhpvq5um34wvzkf4e5kt5dk52yn7xvm --source https://api.nuget.org/v3/index.json
- name: finish
image: busybox
commands:
- echo 'Finished deployment for RadarrSharp'