Skip to content

Commit

Permalink
Fix json skeleton so IDE could now view new releases
Browse files Browse the repository at this point in the history
  • Loading branch information
hsaturn committed Sep 10, 2023
1 parent 4b4e729 commit e66eb7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion library.json.skeleton
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "#name",
"keywords": "ethernet, mqtt, m2m, iot",
"keywords": [ "ethernet, mqtt, m2m, iot" ],
"description": "#paragraph",
"repository": {
"type": "git",
Expand Down

0 comments on commit e66eb7a

Please sign in to comment.