give up auto semver
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-16 16:09:42 +11:00
parent f171c7f0eb
commit 0820cbb65e

View File

@@ -50,34 +50,15 @@ steps:
image: ghcr.io/goreleaser/nfpm image: ghcr.io/goreleaser/nfpm
environment: environment:
TZ: UTC TZ: UTC
NFPM_VERSION: '${DRONE_BUILD_NUMBER}'
volumes: volumes:
- name: shared - name: shared
path: /shared path: /shared
commands: commands:
- cp /shared/vctp-linux-amd64 ./build/vctp-linux-amd64 - cp /shared/vctp-linux-amd64 ./build/vctp-linux-amd64
#- find . #- 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/ - nfpm package --config vctp.yml --packager rpm --target ./build/
- 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: