diff --git a/.drone.yml b/.drone.yml index 07322f9..c40e883 100644 --- a/.drone.yml +++ b/.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: