-
-
Notifications
You must be signed in to change notification settings - Fork 386
30 lines (28 loc) · 811 Bytes
/
release.yml
File metadata and controls
30 lines (28 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Release the spec
on:
push:
branches:
- master
- next-spec
- next-major-spec
jobs:
release:
name: 'Create GitHub release'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Add plugin for conventional commits
run: npm install --save-dev conventional-changelog-conventionalcommits@6.1.0
- name: Release to GitHub
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_AUTHOR_NAME: asyncapi-bot
GIT_AUTHOR_EMAIL: info@asyncapi.io
GIT_COMMITTER_NAME: asyncapi-bot
GIT_COMMITTER_EMAIL: info@asyncapi.io
run: npx semantic-release@21.0.7