revert service yaml filename
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-09 13:54:46 +11:00
parent 4d53927f9d
commit 4f4163f77a
3 changed files with 3 additions and 3 deletions

View File

@@ -55,8 +55,8 @@ steps:
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 . - ls -lah .
- nfpm package --config vctp-service.yml --packager rpm --target ./build/ - nfpm package --config vctp.yml --packager rpm --target ./build/
- ls -lah ./build/ - ls -lah ./build/
- name: dell-sftp-deploy - name: dell-sftp-deploy

View File

@@ -8,7 +8,7 @@ package=./
commit=$(git rev-parse HEAD) commit=$(git rev-parse HEAD)
buildtime=$(date +%Y-%m-%dT%T%z) buildtime=$(date +%Y-%m-%dT%T%z)
#Extract the version from yml #Extract the version from yml
package_version=$(grep 'version:' "$package_name-service.yml" | awk '{print $2}' | tr -d '"' | sed 's/^v//') package_version=$(grep 'version:' "$package_name.yml" | awk '{print $2}' | tr -d '"' | sed 's/^v//')
host_os=$(uname -s | tr '[:upper:]' '[:lower:]') host_os=$(uname -s | tr '[:upper:]' '[:lower:]')
host_arch=$(uname -m) host_arch=$(uname -m)