Skip to content

Commit

Permalink
chore: Updated to migrate to v5 branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Donald Labaj committed Sep 19, 2024
1 parent 3b51314 commit 59b3fe8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
branches:
- main
- v4
- v5
jobs:
call-build-lint-test-workflow:
uses: ./.github/workflows/build-lint-test.yml
6 changes: 3 additions & 3 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
git fetch origin pull/$GH_PR_NUM/head:tmp
git checkout tmp
- run: |
git rev-parse origin/main
git rev-parse origin/v5
git rev-parse HEAD
git rev-parse origin/main..HEAD
git log origin/main..HEAD --format="%b"
git rev-parse origin/v5..HEAD
git log origin/v5..HEAD --format="%b"
# Yes, we really want to checkout the PR
# Injected by generate-workflows.js
- uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- main
- v4
- v5
jobs:
call-build-lint-test-workflow:
uses: ./.github/workflows/build-lint-test.yml
Expand Down
5 changes: 3 additions & 2 deletions packages/module/release.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
branches: [
'do-not-delete',
{ name: 'v4', channel: 'prerelease-v4', range: '4.x' },
{ name: 'v5', channel: 'prerelease-v5', range: '5.x' },
{ name: 'main', channel: 'prerelease', prerelease: 'prerelease' }
],
analyzeCommits: {
Expand All @@ -19,5 +19,6 @@ module.exports = {
'@semantic-release/github',
'@semantic-release/npm'
],
tagFormat: 'prerelease-v${version}'
tagFormat: 'prerelease-v${version}',
dryRun: true
};

0 comments on commit 59b3fe8

Please sign in to comment.