Skip to content

Commit 8427b5c

Browse files
committed
ESP8266FS tool: create zip for distribution
1 parent 0dee1af commit 8427b5c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

make.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ mkdir -p $INSTALLDIR/tools/ESP8266FS/tool
2525
zip -r $INSTALLDIR/tools/ESP8266FS/tool/esp8266fs.jar *
2626
popd
2727

28-
#pushd $INSTALLDIR/tools
29-
#zip -r ESP8266FS-$(git describe --tags).zip ESP8266FS/
30-
#popd
28+
dist=$PWD/dist
29+
rev=$(git describe --tags)
30+
mkdir -p $dist
31+
pushd $INSTALLDIR/tools
32+
zip -r $dist/ESP8266FS-$rev.zip ESP8266FS/
33+
popd

0 commit comments

Comments
 (0)