This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -56,9 +56,23 @@ steps:
|
||||
commands:
|
||||
- cp /shared/vctp-linux-amd64 ./build/vctp-linux-amd64
|
||||
#- 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/
|
||||
|
||||
- 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
|
||||
image: hypervtechnics/drone-sftp
|
||||
settings:
|
||||
|
||||
Reference in New Issue
Block a user