fix ci-cd
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2026-01-16 16:08:26 +11:00
parent 7c76825813
commit f171c7f0eb

View File

@@ -55,14 +55,14 @@ steps:
- 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/
- 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