Skip to content

Commit

Permalink
add new tools to release script; temporarily disable mingw build
Browse files Browse the repository at this point in the history
  • Loading branch information
ivop committed Dec 14, 2013
1 parent 9fc216d commit ce1c80a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh

MAJOR=`grep '^#def.*MAJOR' rkflashtool.c | rev | cut -b 1-2 | rev | tr -d ' '`
MINOR=`grep '^#def.*MINOR' rkflashtool.c | rev | cut -b 1-2 | rev | tr -d ' '`
MAJOR=`grep MAJOR version.h | { read A B C; echo $C; }`
MINOR=`grep MINOR version.h | { read A B C; echo $C; }`

NAME=rkflashtool-$MAJOR.$MINOR
DIR=$NAME-src
Expand All @@ -12,6 +12,12 @@ mkdir $DIR
cp -a \
Makefile \
rkflashtool.c \
rkcrc.c \
rkcrc.h \
rkparameters \
rkparametersblock \
rkmisc \
rkpad \
README \
$DIR

Expand All @@ -22,6 +28,8 @@ zip -9r $DIR.zip $DIR

rm -rf $DIR

exit 0

echo trying win32/win64 cross-builds...

rm -f rkflashtool.exe
Expand Down

0 comments on commit ce1c80a

Please sign in to comment.