From d60ab08070f3891ce854326400168cf59c252452 Mon Sep 17 00:00:00 2001 From: yoyota Date: Sat, 22 Feb 2020 16:41:25 +0900 Subject: [PATCH 1/3] Add release action --- .github/workflows/publish.yaml | 5 +++-- .github/workflows/release.yaml | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 89bc16d..1af616f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,13 +1,14 @@ name: "React PoseNet npm publish" on: release: - types: [created] + types: + - published jobs: publish-npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 12 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..7fcba3d --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,23 @@ +on: + push: + tags: + - "v*" + +name: release + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + body: | + Changes in this Release + - . + draft: true + prerelease: false From 960f03a3dfe878fe4260ba4dda26d20f15b1e149 Mon Sep 17 00:00:00 2001 From: yoyota Date: Sat, 22 Feb 2020 16:45:06 +0900 Subject: [PATCH 2/3] Update package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6c82753..a6bb3cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-posenet", - "version": "0.1.0-alpha.2", + "version": "0.1.1", "main": "dist/index.js", "scripts": { "build": "rollup --config", From 4a02bce84af0d633476c357dbbd55ac6b09b010d Mon Sep 17 00:00:00 2001 From: yoyota Date: Sat, 22 Feb 2020 16:48:19 +0900 Subject: [PATCH 3/3] Add keywords --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index a6bb3cc..07a38b2 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ }, "author": "yoyota", "license": "MIT", + "keywords": ["react", "tfjs", "posenet"], "bugs": { "url": "https://github.com/yoyota/react-posenet/issues" },