scripts: chmod for dist
This commit is contained in:
parent
dd87449b66
commit
6453edf8c5
|
@ -43,6 +43,10 @@ for FILENAME in $(find ./dist -mindepth 1 -maxdepth 1 -type f); do
|
||||||
if [ "${FILENAME}" = "ui.zip" ]; then
|
if [ "${FILENAME}" = "ui.zip" ]; then
|
||||||
cp ${FILENAME} ./pkg/${VERSION}_web_ui.zip
|
cp ${FILENAME} ./pkg/${VERSION}_web_ui.zip
|
||||||
else
|
else
|
||||||
|
if [ "${EXTENSION}" = "" ]; then
|
||||||
|
chmod +x ${FILENAME}
|
||||||
|
fi
|
||||||
|
|
||||||
cp ${FILENAME} ${CONSULNAME}
|
cp ${FILENAME} ${CONSULNAME}
|
||||||
zip ./pkg/${VERSION}_${PLATFORM}.zip ${CONSULNAME}
|
zip ./pkg/${VERSION}_${PLATFORM}.zip ${CONSULNAME}
|
||||||
rm ${CONSULNAME}
|
rm ${CONSULNAME}
|
||||||
|
|
Loading…
Reference in New Issue