Mercurial > 510Connectbot
diff Makefile @ 455:3f24984b435f
use version as part of final filename
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 08 Nov 2018 11:06:22 -0800 |
parents | 7492d2cb7b75 |
children | 105815cce146 |
line wrap: on
line diff
--- a/Makefile Wed Nov 07 17:13:10 2018 -0800 +++ b/Makefile Thu Nov 08 11:06:22 2018 -0800 @@ -3,8 +3,8 @@ style:=release dest:=/run/user/1000/gvfs/mtp*/*torage/Download -apk:='app/build/outputs/apk/510Connectbot-$(style).apk' ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2) +apk:='app/build/outputs/apk/510Connectbot-$(ver).apk' id:=$(shell hg id --id || echo 1) da:=$(shell date +%Y-%m-%d) version:=\