Skip to content

Commit

Permalink
ci(release): setup alpha channel prereleases
Browse files Browse the repository at this point in the history
Refs #2738
  • Loading branch information
char0n committed Jan 23, 2023
1 parent 16174ec commit 1479859
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: Release
on:
workflow_dispatch:
branches:
- master

workflow_run:
workflows:
- "Node.js CI"
branches:
- master
- char0n/openapi-3-1-support
types:
- completed
jobs:
Expand All @@ -34,7 +30,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3.2.0
with:
dry_run: false
extra_plugins: |
Expand Down
5 changes: 4 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"release": {
"branches": ["master"],
"branches": [
{"name": "master"},
{"name": "char0n/openapi-3-1-support", "channel": "alpha", "prerelease": "alpha"}
],
"tagFormat": "v${version}"
},
"plugins": [
Expand Down

0 comments on commit 1479859

Please sign in to comment.