Skip to content

Commit

Permalink
use modversion and cm.version
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jun 15, 2012
1 parent 47582e6 commit 0bac289
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ chmod -R ugo+r $WORKSPACE/archive
CMCP=$(which cmcp)
if [ ! -z "$CMCP" -a ! -z "$CM_RELEASE" ]
then
MODVERSION=$(cat $WORKSPACE/archive/build.prop | grep ro.cm.version | cut -d = -f 2)
MODVERSION=$(cat $WORKSPACE/archive/build.prop | grep ro.modversion | cut -d = -f 2)
if [ -z "$MODVERSION" ]
then
MODVERSION=$(cat $WORKSPACE/archive/build.prop | grep ro.cm.version | cut -d = -f 2)
fi
echo Archiving release to S3.
for f in $(ls $WORKSPACE/archive)
do
Expand Down

0 comments on commit 0bac289

Please sign in to comment.