@@ -45,23 +45,38 @@ describe('release-specification', () => {
45
45
46
46
expect ( template ) . toStrictEqual (
47
47
`
48
- # The following is a list of packages in monorepo.
49
- # Please indicate the packages for which you want to create a new release
50
- # by updating "null" to one of the following:
48
+ # This file (called the "release spec") allows you to specify which packages you
49
+ # want to include in this release along with the new versions they should
50
+ # receive.
51
+ #
52
+ # By default, all packages which have changed since their latest release are
53
+ # listed here. You can choose not to publish a package by removing it from this
54
+ # list.
55
+ #
56
+ # For each package you *do* want to release, you will need to specify how that
57
+ # version should be changed depending on the impact of the changes that will go
58
+ # into the release. To help you make this decision, all of the changes have been
59
+ # automatically added to the changelog for the package. This has been done
60
+ # in a new commit, so you can keep this file open, run \`git show\` in the
61
+ # terminal, review the set of changes, then return to this file to specify the
62
+ # version.
63
+ #
64
+ # A version specifier (the value that goes after each package in the list below)
65
+ # can be one of the following:
51
66
#
52
67
# - "major" (if you want to bump the major part of the package's version)
53
68
# - "minor" (if you want to bump the minor part of the package's version)
54
69
# - "patch" (if you want to bump the patch part of the package's version)
55
70
# - an exact version with major, minor, and patch parts (e.g. "1.2.3")
56
- # - intentionally-skip (to skip the package entirely)
57
71
#
58
- # When you're finished making your selections, save this file and
59
- # create-release-branch will continue automatically.
72
+ # When you're finished, save this file and close it. The tool will update the
73
+ # versions of the packages you've listed and will move the changelog entries to
74
+ # a new section.
60
75
61
76
packages:
62
77
a: null
63
78
c: null
64
- ` . slice ( 1 ) ,
79
+ ` . trimStart ( ) ,
65
80
) ;
66
81
} ) ;
67
82
@@ -108,23 +123,38 @@ packages:
108
123
109
124
expect ( template ) . toStrictEqual (
110
125
`
111
- # The following is a list of packages in monorepo.
112
- # Please indicate the packages for which you want to create a new release
113
- # by updating "null" to one of the following:
126
+ # This file (called the "release spec") allows you to specify which packages you
127
+ # want to include in this release along with the new versions they should
128
+ # receive.
129
+ #
130
+ # By default, all packages which have changed since their latest release are
131
+ # listed here. You can choose not to publish a package by removing it from this
132
+ # list.
133
+ #
134
+ # For each package you *do* want to release, you will need to specify how that
135
+ # version should be changed depending on the impact of the changes that will go
136
+ # into the release. To help you make this decision, all of the changes have been
137
+ # automatically added to the changelog for the package. This has been done
138
+ # in a new commit, so you can keep this file open, run \`git show\` in the
139
+ # terminal, review the set of changes, then return to this file to specify the
140
+ # version.
141
+ #
142
+ # A version specifier (the value that goes after each package in the list below)
143
+ # can be one of the following:
114
144
#
115
145
# - "major" (if you want to bump the major part of the package's version)
116
146
# - "minor" (if you want to bump the minor part of the package's version)
117
147
# - "patch" (if you want to bump the patch part of the package's version)
118
148
# - an exact version with major, minor, and patch parts (e.g. "1.2.3")
119
- # - intentionally-skip (to skip the package entirely)
120
149
#
121
- # When you're finished making your selections, save this file and then re-run
122
- # create-release-branch.
150
+ # When you're finished, save this file and then run create-release-branch again.
151
+ # The tool will update the versions of the packages you've listed and will move
152
+ # the changelog entries to a new section.
123
153
124
154
packages:
125
155
a: null
126
156
b: null
127
- ` . slice ( 1 ) ,
157
+ ` . trimStart ( ) ,
128
158
) ;
129
159
} ) ;
130
160
} ) ;
0 commit comments