Skip to content

Commit

Permalink
feat: allow to release prerelease versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Jan 29, 2024
1 parent c2931f1 commit 9871afd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
- run: npm ci
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
- run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
check:
name: Check build
runs-on: ubuntu-latest
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Release

on:
push:
branches: [main]
on: workflow_dispatch

jobs:
release:
Expand Down
3 changes: 2 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module.exports = {
...require('@codingame/semantic-release-config'),
branches: [
'main'
'main',
{ name: '*', channel: 'next', prerelease: true }
],
plugins: [
'@semantic-release/commit-analyzer',
Expand Down

0 comments on commit 9871afd

Please sign in to comment.