You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/plan-release.yml
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,13 @@ name: Release Plan Review
2
2
on:
3
3
push:
4
4
branches:
5
-
- main
6
-
- master
5
+
- 3.x
7
6
pull_request:
8
7
types:
9
8
- labeled
10
9
11
10
concurrency:
12
-
group: plan-release # only the latest one of these should ever be running
11
+
group: plan-3.x-release # only the latest one of these should ever be running
13
12
cancel-in-progress: true
14
13
15
14
jobs:
@@ -23,14 +22,14 @@ jobs:
23
22
- uses: actions/checkout@v4
24
23
with:
25
24
fetch-depth: 0
26
-
ref: 'main'
25
+
ref: "3.x"
27
26
# This will only cause the `check-plan` job to have a "command" of `release`
28
27
# when the .release-plan.json file was changed on the last commit.
29
28
- id: check-release
30
29
run: if git diff --name-only HEAD HEAD~1 | grep -w -q ".release-plan.json"; then echo "command=release"; fi >> $GITHUB_OUTPUT
31
30
32
31
prepare_release_notes:
33
-
name: Prepare Release Notes
32
+
name: Prepare Release Notes 3.x
34
33
runs-on: ubuntu-latest
35
34
timeout-minutes: 5
36
35
needs: check-plan
@@ -49,21 +48,21 @@ jobs:
49
48
# github-changelog can discover what's changed since the last release
50
49
with:
51
50
fetch-depth: 0
52
-
ref: 'main'
51
+
ref: "3.x"
53
52
- uses: actions/setup-node@v4
54
53
with:
55
54
node-version: 18
56
-
55
+
57
56
- uses: pnpm/action-setup@v3
58
57
- run: pnpm install --frozen-lockfile
59
-
58
+
60
59
- name: "Generate Explanation and Prep Changelogs"
61
60
id: explanation
62
61
run: |
63
62
set +e
64
-
63
+
65
64
pnpm release-plan prepare 2> >(tee -a stderr.log >&2)
66
-
65
+
67
66
68
67
if [ $? -ne 0 ]; then
69
68
echo 'text<<EOF' >> $GITHUB_OUTPUT
@@ -82,7 +81,7 @@ jobs:
82
81
commit-message: "Prepare Release using 'release-plan'"
83
82
labels: "internal"
84
83
branch: release-preview
85
-
title: Prepare Release
84
+
title: Prepare Release (3.x)
86
85
body: |
87
86
This PR is a preview of the release that [release-plan](https://github.com/embroider-build/release-plan) has prepared. To release you should just merge this PR 👍
0 commit comments