From e66eb7aa6aef988d7ca1a5e10fc36248b0af9f5d Mon Sep 17 00:00:00 2001 From: Francois BIOT Date: Sun, 10 Sep 2023 19:16:16 +0200 Subject: [PATCH] Fix json skeleton so IDE could now view new releases --- bump_version.sh | 3 ++- library.json.skeleton | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bump_version.sh b/bump_version.sh index 268acde..5086742 100755 --- a/bump_version.sh +++ b/bump_version.sh @@ -17,6 +17,7 @@ if [ "$1" == "" ]; then else echo "Current version: ($current_version)" echo "New version : ($1)" + echo "Take info from : library.properties" echo -n "Do you want to proceed ? " read a if [ "$a" == "y" ]; then @@ -47,10 +48,10 @@ else sed -i "s/'/\"/g" library.json if [ "$do" == "1" ]; then echo "Pushing all" + git commit -m "Release $1 $2" git tag $1 git add library.properties git add library.json - git commit -m "Release $1 $2" git push git push --tags fi diff --git a/library.json.skeleton b/library.json.skeleton index a8765b0..891f924 100644 --- a/library.json.skeleton +++ b/library.json.skeleton @@ -1,6 +1,6 @@ { "name": "#name", - "keywords": "ethernet, mqtt, m2m, iot", + "keywords": [ "ethernet, mqtt, m2m, iot" ], "description": "#paragraph", "repository": { "type": "git",