Need to define the version before running the script.
parent
798ca34362
commit
c6ccbd3a1c
|
@ -192,7 +192,7 @@ if (( ${ARCHIVE_FOR_DISTRIBUTION} )); then
|
||||||
if [ -f '/c/Program Files (x86)/NSIS/makensis.exe' ]; then
|
if [ -f '/c/Program Files (x86)/NSIS/makensis.exe' ]; then
|
||||||
rm -rf scripts/win32/dist
|
rm -rf scripts/win32/dist
|
||||||
mv `pwd`/${TARGET_DIR} scripts/win32/dist
|
mv `pwd`/${TARGET_DIR} scripts/win32/dist
|
||||||
'/c/Program Files (x86)/NSIS/makensis.exe' 'scripts/win32/installer.nsi' -DVERSION=${BUILD_NAME}
|
'/c/Program Files (x86)/NSIS/makensis.exe' -DVERSION=${BUILD_NAME} 'scripts/win32/installer.nsi'
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Archiving to ${TARGET_DIR}.tar.gz"
|
echo "Archiving to ${TARGET_DIR}.tar.gz"
|
||||||
|
|
Loading…
Reference in New Issue