mirror of https://github.com/status-im/consul.git
scripts: chmod for dist
This commit is contained in:
parent
765286e45f
commit
36a1b59348
|
@ -43,6 +43,10 @@ for FILENAME in $(find ./dist -mindepth 1 -maxdepth 1 -type f); do
|
|||
if [ "${FILENAME}" = "ui.zip" ]; then
|
||||
cp ${FILENAME} ./pkg/${VERSION}_web_ui.zip
|
||||
else
|
||||
if [ "${EXTENSION}" = "" ]; then
|
||||
chmod +x ${FILENAME}
|
||||
fi
|
||||
|
||||
cp ${FILENAME} ${CONSULNAME}
|
||||
zip ./pkg/${VERSION}_${PLATFORM}.zip ${CONSULNAME}
|
||||
rm ${CONSULNAME}
|
||||
|
|
Loading…
Reference in New Issue