File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 66 "type" : " git" ,
77 "url" : " https://github.com/eloquentarduino/EloquentTinyML"
88 },
9- "version" : " 0.0.5 " ,
9+ "version" : " 0.0.6 " ,
1010 "authors" : {
1111 "name" : " Simone Salerno" ,
1212 "url" : " https://github.com/eloquentarduino"
Original file line number Diff line number Diff line change 11name =EloquentTinyML
2- version =0.0.5
2+ version =0.0.6
33author =Simone Salerno,eloquentarduino@gmail.com
44maintainer =Simone Salerno,eloquentarduino@gmail.com
55sentence =An eloquent interface to Tensorflow Lite for Microcontrollers
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+
4+ if [ -z " $1 " ]
5+ then
6+ echo " You MUST supply a version number"
7+ exit 1
8+ fi
9+
10+ message=${2:- bump}
11+
12+
13+ sed -i ' ' -E " s/\" version\" : \" .+\" ,/\" version\" : \" ${1} \" ,/" library.json
14+ sed -i ' ' -E " s/version=.+/version=${1} /" library.properties
15+ git add . && git commit -m " bump dist to ${1} " && git tag -a $1 -m " $message " && git push origin master -f && git push origin $1
You can’t perform that action at this time.
0 commit comments