Skip to content

Commit 46adc65

Browse files
bump dist to 0.0.6
1 parent 58a9bab commit 46adc65

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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"

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=EloquentTinyML
2-
version=0.0.5
2+
version=0.0.6
33
author=Simone Salerno,[email protected]
44
maintainer=Simone Salerno,[email protected]
55
sentence=An eloquent interface to Tensorflow Lite for Microcontrollers

publish

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

0 commit comments

Comments
 (0)