Skip to content

Commit

Permalink
released v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuezas committed Sep 2, 2019
1 parent 06e71d5 commit 4b9a57d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
Binary file added lgt8f-1.0.2.zip
Binary file not shown.
5 changes: 3 additions & 2 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const folder = "lgt8f";

const toNum = str => parseInt(str.split(".").join(""), 10);
const jsonStr = fs.readFileSync(package);
fs.writeFileSync(package + ".bak", jsonStr);

const json = JSON.parse(jsonStr);
const { platforms } = json.packages[0];
Expand Down Expand Up @@ -38,7 +37,9 @@ platforms.unshift({
version: newVersion,
category: "lgt8fx",
url:
"https://raw.githubusercontent.com/dbuezas/lgt8fx/master/" +
"https://github.com/dbuezas/lgt8fx/releases/download/v" +
newVersion +
"/" +
archiveFileName,
archiveFileName,
checksum,
Expand Down
34 changes: 32 additions & 2 deletions package_lgt8fx_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,42 @@
"online": "https://github.com/dbuezas/LGT8fx"
},
"platforms": [
{
"name": "LGT8fx Boards",
"architecture": "avr",
"version": "1.0.2",
"category": "lgt8fx",
"url": "https://github.com/dbuezas/lgt8fx/releases/download/v1.0.2/lgt8f-1.0.2.zip",
"archiveFileName": "lgt8f-1.0.2.zip",
"checksum": "SHA-256:01aa986432317baeb3325acf0eeb3e3ad60382d06f9ff699d8b388c1ad02467d",
"size": "591621",
"help": {
"online": "https://github.com/dbuezas/LGT8fx/isues"
},
"boards": [
{
"name": "LGT8F328P-LQFP48 MiniEVB"
},
{
"name": "LGT8F328P-LQFP32 MiniEVB"
},
{
"name": "LGT8F328D"
},
{
"name": "LGT8F328D-SSOP20"
},
{
"name": "LGT8F88D-SSOP20"
}
]
},
{
"name": "LGT8fx Boards",
"architecture": "avr",
"version": "1.0.1",
"category": "lgt8fx",
"url": "https://raw.githubusercontent.com/dbuezas/lgt8fx/master/lgt8f-1.0.1.zip",
"url": "https://github.com/dbuezas/lgt8fx/releases/download/v1.0.1/lgt8f-1.0.1.zip",
"archiveFileName": "lgt8f-1.0.1.zip",
"checksum": "SHA-256:59cd6e6d2a9284d9bb625795b5cad4d6fcb91fe63126c3876cc42ea620832413",
"size": "588364",
Expand Down Expand Up @@ -43,7 +73,7 @@
"architecture": "avr",
"version": "1.0.0",
"category": "lgt8fx",
"url": "https://raw.githubusercontent.com/dbuezas/lgt8fx/master/lgt8f-1.0.0.zip",
"url": "https://github.com/dbuezas/lgt8fx/releases/download/v1.0.0/lgt8f-1.0.0.zip",
"archiveFileName": "lgt8f-1.0.0.zip",
"checksum": "SHA-256:c0645f7bf8a2b8169cbb5ed70195fe703db9f63890b880c337630f3c2b3a916f",
"size": "586752",
Expand Down

0 comments on commit 4b9a57d

Please sign in to comment.