Skip to content

Commit cf87cc8

Browse files
authored
Merge pull request #237 from dbuezas/chore/remove-v1.0.7-in-favor-of-v2.0.0
Remove v1.0.7 and prepare for v2.0.0
2 parents e5b8b5d + 7f09ffd commit cf87cc8

File tree

4 files changed

+5
-32
lines changed

4 files changed

+5
-32
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Release on PR or commit
22
on:
33
pull_request:
4+
types:
5+
- closed
46
branches: [ "master" ]
57
paths-ignore:
68
- 'readme.md'
@@ -9,7 +11,7 @@ on:
911

1012
jobs:
1113
build:
12-
if: github.repository == dbuezas/lgt8fx
14+
if: github.repository == 'dbuezas/lgt8fx' && github.event.pull_request.merged == true
1315
runs-on: ubuntu-latest
1416
permissions:
1517
contents: write

lgt8f-1.0.7.zip

-615 KB
Binary file not shown.

make.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ const json = JSON.parse(fs.readFileSync(package));
99
const { platforms } = json.packages[0];
1010
const [major, minor, patch] = platforms[0].version.split(".");
1111

12-
const newVersion = [major, minor, parseFloat(patch) + 1].join(".");
12+
// const newVersion = [major, minor, parseFloat(patch) + 1].join(".");
13+
const newVersion = "2.0.0";
1314
const archiveFileName = `${folder}-${newVersion}.zip`;
1415
execSync(`zip -r ${archiveFileName} ${folder}`);
1516
console.warn(`zipped ${archiveFileName}`);

package_lgt8fx_index.json

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,6 @@
88
"online": "https://github.com/dbuezas/lgt8fx"
99
},
1010
"platforms": [
11-
{
12-
"name": "LGT8fx Boards",
13-
"architecture": "avr",
14-
"version": "1.0.7",
15-
"category": "lgt8fx",
16-
"url": "https://github.com/dbuezas/lgt8fx/releases/download/v1.0.7/lgt8f-1.0.7.zip",
17-
"archiveFileName": "lgt8f-1.0.7.zip",
18-
"checksum": "SHA-256:e69c27206c57d0d182e8506161cdf77eeb65be1854a794c4b63fe74b23ae09ce",
19-
"size": "629338",
20-
"help": {
21-
"online": "https://github.com/dbuezas/lgt8fx/issues"
22-
},
23-
"boards": [
24-
{
25-
"name": "LGT8F328P-LQFP32 MiniEVB"
26-
},
27-
{
28-
"name": "LGT8F328P-LQFP48 MiniEVB"
29-
},
30-
{
31-
"name": "LGT8F328P-LQFP32 wemos-TTGO-XI"
32-
},
33-
{
34-
"name": "LGT8F328P-SSOP20"
35-
},
36-
{
37-
"name": "LGT8F328D-LQFP32"
38-
}
39-
]
40-
},
4111
{
4212
"name": "LGT8fx Boards",
4313
"architecture": "avr",

0 commit comments

Comments
 (0)