This commit is contained in:
parent
6564f3cf69
commit
e02af14ad3
@ -3,15 +3,14 @@ type: docker
|
|||||||
name: RadarrSharp
|
name: RadarrSharp
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
BUILD_NUM_SINCE_LAST_MINOR_VERSION: 17
|
BUILD_NUM_SINCE_LAST_MINOR_VERSION: 15
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: init
|
- name: init
|
||||||
image: busybox
|
image: busybox
|
||||||
commands:
|
commands:
|
||||||
- echo 'Starting build pipeline for RadarrSharp'
|
- echo 'Starting build pipeline for RadarrSharp'
|
||||||
- echo ${DRONE_BUILD_NUMBER}
|
- echo Drone build number is ${DRONE_BUILD_NUMBER}
|
||||||
- echo "$((${DRONE_BUILD_NUMBER}-15))"
|
|
||||||
- echo Revision is $((${DRONE_BUILD_NUMBER}-$BUILD_NUM_SINCE_LAST_MINOR_VERSION))
|
- echo Revision is $((${DRONE_BUILD_NUMBER}-$BUILD_NUM_SINCE_LAST_MINOR_VERSION))
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
@ -19,9 +18,9 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- ls
|
- ls
|
||||||
- dotnet build
|
- dotnet build
|
||||||
#- dotnet pack -p:Version=1.0.3 -o .
|
- dotnet pack -p:Version=1.0.$((${DRONE_BUILD_NUMBER}-$BUILD_NUM_SINCE_LAST_MINOR_VERSION)) -o .
|
||||||
- ls
|
- ls
|
||||||
#- dotnet nuget push *.nupkg --api-key oy2adzrarabcfh2xhpvq5um34wvzkf4e5kt5dk52yn7xvm --source https://api.nuget.org/v3/index.json
|
- dotnet nuget push *.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
|
||||||
|
|
||||||
- name: finish
|
- name: finish
|
||||||
image: busybox
|
image: busybox
|
||||||
|
Loading…
x
Reference in New Issue
Block a user