Fix json skeleton so IDE could now view new releases
This commit is contained in:
@@ -17,6 +17,7 @@ if [ "$1" == "" ]; then
|
|||||||
else
|
else
|
||||||
echo "Current version: ($current_version)"
|
echo "Current version: ($current_version)"
|
||||||
echo "New version : ($1)"
|
echo "New version : ($1)"
|
||||||
|
echo "Take info from : library.properties"
|
||||||
echo -n "Do you want to proceed ? "
|
echo -n "Do you want to proceed ? "
|
||||||
read a
|
read a
|
||||||
if [ "$a" == "y" ]; then
|
if [ "$a" == "y" ]; then
|
||||||
@@ -47,10 +48,10 @@ else
|
|||||||
sed -i "s/'/\"/g" library.json
|
sed -i "s/'/\"/g" library.json
|
||||||
if [ "$do" == "1" ]; then
|
if [ "$do" == "1" ]; then
|
||||||
echo "Pushing all"
|
echo "Pushing all"
|
||||||
|
git commit -m "Release $1 $2"
|
||||||
git tag $1
|
git tag $1
|
||||||
git add library.properties
|
git add library.properties
|
||||||
git add library.json
|
git add library.json
|
||||||
git commit -m "Release $1 $2"
|
|
||||||
git push
|
git push
|
||||||
git push --tags
|
git push --tags
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "#name",
|
"name": "#name",
|
||||||
"keywords": "ethernet, mqtt, m2m, iot",
|
"keywords": [ "ethernet, mqtt, m2m, iot" ],
|
||||||
"description": "#paragraph",
|
"description": "#paragraph",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user