This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -56,9 +56,23 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- cp /shared/vctp-linux-amd64 ./build/vctp-linux-amd64
|
- cp /shared/vctp-linux-amd64 ./build/vctp-linux-amd64
|
||||||
#- find .
|
#- find .
|
||||||
- nfpm package --config vctp.yml --packager rpm --target ./build/
|
- nfpm package --config vctp.yml --packager rpm --target ./build/ --version ${DRONE_BUILD_NUMBER}
|
||||||
- ls -lah ./build/
|
- ls -lah ./build/
|
||||||
|
|
||||||
|
- name: semver
|
||||||
|
image: plugins/semver
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
settings:
|
||||||
|
repo: ${DRONE_REPO_LINK}
|
||||||
|
token:
|
||||||
|
from_secret: GITEA_TOKEN
|
||||||
|
patch: true
|
||||||
|
tag: true
|
||||||
|
user_name: "Nathan Coad"
|
||||||
|
user_email: "nathan@thecoads.com"
|
||||||
|
|
||||||
- name: dell-sftp-deploy
|
- name: dell-sftp-deploy
|
||||||
image: hypervtechnics/drone-sftp
|
image: hypervtechnics/drone-sftp
|
||||||
settings:
|
settings:
|
||||||
|
|||||||
Reference in New Issue
Block a user