Skip to content

Commit 6960768

Browse files
author
Donald Labaj
committed
fix: Updated github actions for v5 migration.
1 parent f1724d5 commit 6960768

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

.github/workflows/check-pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: check-pr
22
on:
33
pull_request:
44
branches:
5-
- main
6-
- v4
5+
- v5
76
jobs:
87
call-build-lint-test-workflow:
98
uses: ./.github/workflows/build-lint-test.yml

.github/workflows/pr-preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
git checkout tmp
1818
1919
- run: |
20-
git rev-parse origin/main
20+
git rev-parse origin/v5
2121
git rev-parse HEAD
22-
git rev-parse origin/main..HEAD
23-
git log origin/main..HEAD --format="%b"
22+
git rev-parse origin/v5..HEAD
23+
git log origin/v5..HEAD --format="%b"
2424
2525
# Yes, we really want to checkout the PR
2626
# Injected by generate-workflows.js

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: release
22
on:
33
push:
44
branches:
5-
- main
6-
- v4
5+
- v5
76
jobs:
87
call-build-lint-test-workflow:
98
uses: ./.github/workflows/build-lint-test.yml

packages/module/release.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
branches: [ 'do-not-delete', { name: 'main', channel: 'prerelease', prerelease: 'prerelease' } ],
2+
branches: ['do-not-delete', { name: 'v5', channel: 'prerelease-v5', range: '5.x' }],
33
analyzeCommits: {
44
preset: 'angular'
55
},
@@ -10,5 +10,5 @@ module.exports = {
1010
'@semantic-release/npm'
1111
],
1212
tagFormat: 'prerelease-v${version}',
13-
dryRun: false
13+
dryRun: true
1414
};

0 commit comments

Comments
 (0)