mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 00:46:43 +00:00
Use CONSUL_PKG_NAME in package_release
This commit is contained in:
parent
f74386d425
commit
82857b2121
@ -98,10 +98,10 @@ function package_release {
|
||||
for platform in $(find "${sdir}/pkg/bin" -mindepth 1 -maxdepth 1 -type d)
|
||||
do
|
||||
local os_arch=$(basename $platform)
|
||||
local dest="${sdir}/pkg/dist/consul_${vers}_${os_arch}.zip"
|
||||
local dest="${sdir}/pkg/dist/${CONSUL_PKG_NAME}_${vers}_${os_arch}.zip"
|
||||
status "Compressing ${os_arch} directory into ${dest}"
|
||||
pushd "${platform}" > /dev/null
|
||||
zip "${sdir}/pkg/dist/consul_${vers}_${os_arch}.zip" ./*
|
||||
zip "${sdir}/pkg/dist/${CONSUL_PKG_NAME}_${vers}_${os_arch}.zip" ./*
|
||||
ret=$?
|
||||
popd > /dev/null
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user