Skip to content

Commit

Permalink
Merge branch 'master' into time
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyota committed Feb 22, 2020
2 parents 45678bd + 4a02bce commit 74fd913
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-posenet/time",
"version": "0.1.0-alpha.2",
"version": "0.1.1",
"main": "dist/index.js",
"scripts": {
"build": "rollup --config",
Expand All @@ -14,6 +14,7 @@
},
"author": "yoyota",
"license": "MIT",
"keywords": ["react", "tfjs", "posenet"],
"bugs": {
"url": "https://github.com/yoyota/react-posenet/issues"
},
Expand Down

0 comments on commit 74fd913

Please sign in to comment.