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
(CURRENT_VERSION can be used for non-release builds)
94
174
175
+
Gitlab don't support multiline variables in dotenv. Also, `release` keyword and `release-cli`
176
+
doesn't support file as input for `tag_message` (only as input for `description`). So, it means
177
+
that `release` keyword can't be used in practice for our case. As workaround, there is
178
+
`releaseNotes --one-line`that produces only 1 line and can be used for `tag_message` but in this
179
+
case release notes will be only in release page in Gitlab but not in tag message in Git.
180
+
95
181
96
182
## Help
97
183
@@ -109,6 +195,7 @@ Options:
109
195
-s, --scope=<text> Scope to filter release note items
110
196
-i, --initial-revision=<text> Start range from next revision
111
197
-l, --last-revision=<text> Stop on this revision
198
+
-pre, --allow-pre-releases Don't drop pre-release tags
112
199
-h, --help Show this message and exit
113
200
114
201
Commands:
@@ -141,9 +228,13 @@ it's better to use individual MRs. If not -- you are in a good company, this rep
141
228
142
229
### How it differs from https://github.com/git-chglog/git-chglog ?
143
230
144
-
- multiple header lines support
231
+
- multiple header lines support for single commit
145
232
- release version calculation
146
233
234
+
### How it differs from https://github.com/choffmeister/git-describe-semver ?
235
+
236
+
- release notes are produced, not only versions
237
+
147
238
### How to get release notes between 2 commits?
148
239
149
240
Just use following options:
@@ -167,8 +258,8 @@ commit messages nothing is changes for client and it should not be released.
167
258
168
259
### When this tool is not suitable?
169
260
170
-
- multiple components with complext dependencies: this tools can be used for version and release notes but it will not release or skip them in some dependency tree. In this case tools like https://lerna.js.org/ can be used.
171
-
- 1 MR per task is used. In this case change log can be generated using following command:
261
+
- multiple components with complex dependencies: this tools can be used for version and release notes, but it will not release or skip them in some dependency tree. In this case tools like https://lerna.js.org/ can be used.
262
+
- 1 MR per task is always used. In this case change log can be generated using following command:
172
263
173
264
```bash
174
265
git log --oneline --pretty="- %s" --no-merges
@@ -261,6 +352,11 @@ It's better to provide MR/patch for new features. Most probably new features
261
352
without code will not be implemented as for me this repo is feature complete.
262
353
263
354
355
+
## Known issues
356
+
357
+
`lastReleaseVersion` don't work properly if repo has only 1 commit. As it's a rare case
0 commit comments