This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user