File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ VERSION=" 0.5.0"
2+ mkdir -p $VERSION
3+ echo " Build in release mode"
4+ bash export.sh > $VERSION /release.log 2>&1
5+ echo " Create release zip"
6+ zip -r $VERSION /unor4wifi-$VERSION -release.zip UNOR4USBBridge/build
7+ echo " Create unpdater packages"
8+ pushd unor4wifi-updater
9+ bash package.sh $VERSION > ../$VERSION /updater.log 2>&1
10+ popd
11+ mv unor4wifi-updater/unor4wifi-update-windows.zip $VERSION /unor4wifi-update-windows.zip
12+ mv unor4wifi-updater/unor4wifi-update-linux.zip $VERSION /unor4wifi-update-linux.zip
13+ mv unor4wifi-updater/unor4wifi-update-macos.zip $VERSION /unor4wifi-update-macos.zip
14+ echo " Build in debug mode"
15+ sed -i ' s/DebugLevel=none/DebugLevel=verbose/g' compile.sh
16+ sed -i ' s/DBG_ERROR/DBG_VERBOSE/g' UNOR4USBBridge/UNOR4USBBridge.ino
17+ bash export.sh > $VERSION /debug.log 2>&1
18+ echo " Create debug zip"
19+ zip -r $VERSION /unor4wifi-$VERSION -debug.zip UNOR4USBBridge/build
20+ echo " Done"
21+ echo " ..."
22+ echo " Remember to restore compile script and .ino file"
You can’t perform that action at this time.
0 commit comments