Skip to content

Commit

Permalink
Merge pull request #237 from dbuezas/chore/remove-v1.0.7-in-favor-of-…
Browse files Browse the repository at this point in the history
…v2.0.0

Remove v1.0.7 and prepare for v2.0.0
  • Loading branch information
dbuezas authored Jan 12, 2023
2 parents e5b8b5d + 7f09ffd commit cf87cc8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 32 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Release on PR or commit
on:
pull_request:
types:
- closed
branches: [ "master" ]
paths-ignore:
- 'readme.md'
Expand All @@ -9,7 +11,7 @@ on:

jobs:
build:
if: github.repository == dbuezas/lgt8fx
if: github.repository == 'dbuezas/lgt8fx' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
Binary file removed lgt8f-1.0.7.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion make.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const json = JSON.parse(fs.readFileSync(package));
const { platforms } = json.packages[0];
const [major, minor, patch] = platforms[0].version.split(".");

const newVersion = [major, minor, parseFloat(patch) + 1].join(".");
// const newVersion = [major, minor, parseFloat(patch) + 1].join(".");
const newVersion = "2.0.0";
const archiveFileName = `${folder}-${newVersion}.zip`;
execSync(`zip -r ${archiveFileName} ${folder}`);
console.warn(`zipped ${archiveFileName}`);
Expand Down
30 changes: 0 additions & 30 deletions package_lgt8fx_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,6 @@
"online": "https://github.com/dbuezas/lgt8fx"
},
"platforms": [
{
"name": "LGT8fx Boards",
"architecture": "avr",
"version": "1.0.7",
"category": "lgt8fx",
"url": "https://github.com/dbuezas/lgt8fx/releases/download/v1.0.7/lgt8f-1.0.7.zip",
"archiveFileName": "lgt8f-1.0.7.zip",
"checksum": "SHA-256:e69c27206c57d0d182e8506161cdf77eeb65be1854a794c4b63fe74b23ae09ce",
"size": "629338",
"help": {
"online": "https://github.com/dbuezas/lgt8fx/issues"
},
"boards": [
{
"name": "LGT8F328P-LQFP32 MiniEVB"
},
{
"name": "LGT8F328P-LQFP48 MiniEVB"
},
{
"name": "LGT8F328P-LQFP32 wemos-TTGO-XI"
},
{
"name": "LGT8F328P-SSOP20"
},
{
"name": "LGT8F328D-LQFP32"
}
]
},
{
"name": "LGT8fx Boards",
"architecture": "avr",
Expand Down

0 comments on commit cf87cc8

Please sign in to comment.