Skip to content

Commit e54dcb8

Browse files
author
Marco Crespi
committed
Merge branch 'develop'
2 parents 475e119 + b0fe8dd commit e54dcb8

25 files changed

+116
-54
lines changed

.github/workflows/main.yml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
name: Create release & add changelog
11+
runs-on: ubuntu-latest
12+
outputs:
13+
upload_url: ${{ steps.create_release.outputs.upload_url }}
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Extract release notes
19+
id: extract-release-notes
20+
uses: modum-io/[email protected]
21+
22+
- name: Create Release
23+
id: create_release
24+
uses: actions/create-release@v1
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
with:
28+
tag_name: ${{ github.ref }}
29+
release_name: MODblue ${{ github.ref }}
30+
body: ${{ steps.extract-release-notes.outputs.release_notes }}
31+
draft: false
32+
prerelease: false
33+
34+
publish:
35+
name: Publish package to github packages
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v2
39+
- uses: actions/setup-node@v1
40+
with:
41+
node-version: 14
42+
registry-url: https://registry.npmjs.org
43+
- run: npm ci
44+
- run: npm publish --access public
45+
env:
46+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
47+
- uses: actions/setup-node@v1
48+
with:
49+
node-version: 14
50+
registry-url: https://npm.pkg.github.com/
51+
- run: npm publish
52+
env:
53+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

lib/bindings/dbus/Adapter.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

lib/bindings/dbus/Adapter.js

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/bindings/dbus/Adapter.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/bindings/hci/Adapter.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

lib/bindings/hci/Adapter.js

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)