diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 2941006..524fc03 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -3,7 +3,7 @@ on: pull_request: branches: - main - - v6 + - v5 jobs: call-build-lint-test-workflow: uses: ./.github/workflows/build-lint-test.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4cc4bb..89e8a10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ on: push: branches: - main - - v6 + - v5 jobs: call-build-lint-test-workflow: uses: ./.github/workflows/build-lint-test.yml diff --git a/packages/module/release.config.js b/packages/module/release.config.js index f03761a..994d140 100644 --- a/packages/module/release.config.js +++ b/packages/module/release.config.js @@ -1,8 +1,8 @@ module.exports = { branches: [ 'do-not-delete', - { name: 'main', channel: 'prerelease', prerelease: 'prerelease' }, - { name: 'v6', channel: 'alpha', prerelease: 'alpha' } + { name: 'v5', channel: 'prerelease-v5', range: '5.x' }, + { name: 'main', channel: 'prerelease', prerelease: 'prerelease' } ], analyzeCommits: { preset: 'angular' @@ -12,10 +12,7 @@ module.exports = { '@semantic-release/commit-analyzer', { preset: 'angular', - releaseRules: [ - { type: 'chore', scope: 'deps', release: 'patch' }, - { type: 'chore', scope: 'release', release: 'patch' } - ] + releaseRules: [{ type: 'chore', scope: 'deps', release: 'patch' }] } ], '@semantic-release/release-notes-generator', @@ -23,5 +20,5 @@ module.exports = { '@semantic-release/npm' ], tagFormat: 'prerelease-v${version}', - dryRun: false + dryRun: true };