Skip to content

Commit 2c04569

Browse files
authored
release: on success send note to discord (fixes #2282) (#2283)
1 parent 4278d5a commit 2c04569

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/newversion.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ jobs:
4343
run: npm publish
4444
env:
4545
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
46+
- name: report
47+
run: |
48+
sudo npm install -g @treehouses/cli
49+
export discord_channel="${{ secrets.CHANNEL }}"
50+
treehouses feedback "new [treehouses/cli](https://github.com/treehouses/cli) release **[$( echo ${{ github.ref }} | cut -d'/' -f3 )](https://www.npmjs.com/package/@treehouses/cli/v/$( echo ${{ github.ref }} | cut -d'/' -f3 ))**"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@treehouses/cli",
3-
"version": "1.26.10",
3+
"version": "1.26.11",
44
"remote": "4000",
55
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
66
"main": "cli.sh",

0 commit comments

Comments
 (0)