Skip to content

Commit

Permalink
Merge pull request #8 from Luligu/dev
Browse files Browse the repository at this point in the history
Release 1.0.22
  • Loading branch information
Luligu authored Oct 1, 2024
2 parents 6cd0973 + 4499182 commit f4507d6
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 147 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-matterbridge-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ jobs:
run: npm -v

- name: Install matterbridge
run: npm install -g matterbridge
run: npm install -g matterbridge --omit=dev

- name: Install dependencies
run: npm ci

- name: Link matterbridge
run: npm link matterbridge

- name: Lint the project
run: npm run lint

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish-matterbridge-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ jobs:
run: npm -v

- name: Install matterbridge
run: npm install -g matterbridge
run: npm install -g matterbridge --omit=dev

- name: Install dependencies
run: npm ci

- name: Link matterbridge
run: npm link matterbridge

- name: Lint the project
run: npm run lint

Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes to this project will be documented in this file.

## [1.0.22] - 2024-10-01

### Changed

- [package]: Upgrade to new workflows.
- [package]: Updated dependencies.

<a href="https://www.buymeacoffee.com/luligugithub">
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
</a>

## [1.0.21] - 2024-09-23

### Changed
Expand Down
16 changes: 1 addition & 15 deletions link-matterbridge-script.js
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
/* eslint-disable no-console */
import { exec } from 'child_process';

const command = process.platform === 'win32' ? 'npm link matterbridge' : 'sudo npm link matterbridge';

exec(command, (error, stdout, stderr) => {
if (error) {
console.error(`exec error: ${error}`);
return;
}
console.log(`stdout: ${stdout}`);
if (stderr) {
console.error(`stderr: ${stderr}`);
}
});
// Nothing to do in production, just a script to link the matterbridge package in development
Loading

0 comments on commit f4507d6

Please sign in to comment.