diff --git a/.drone.yml b/.drone.yml index a3cbd5e..07322f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -50,33 +50,14 @@ steps: image: ghcr.io/goreleaser/nfpm environment: TZ: UTC - NFPM_VERSION: '${DRONE_BUILD_NUMBER}' volumes: - name: shared path: /shared commands: - - cp /shared/vctp-linux-amd64 ./build/vctp-linux-amd64 - #- find . - - VERSION=$(grep '^version:' vctp.yml | awk '{print $2}' | tr -d '"') - - VERSION=${VERSION#v} - - export NFPM_VERSION=$VERSION - - echo "nfpm version: ${NFPM_VERSION}" - - nfpm package --config vctp.yml --packager rpm --target ./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" + - cp /shared/vctp-linux-amd64 ./build/vctp-linux-amd64 + #- find . + - nfpm package --config vctp.yml --packager rpm --target ./build/ + - ls -lah ./build/ - name: dell-sftp-deploy image: hypervtechnics/drone-sftp