File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,11 @@ Title: Create
6
6
This is the main command of GitReleaseManager and it is used to create a draft
7
7
set of release notes based on a milestone, which has been set up in GitHub.
8
8
9
- There are two modes of operation when creating a Release. GitReleaseManager can
9
+ There are three modes of operation when creating a Release. GitReleaseManager can
10
10
take as an input the name of the milestone to generate the release notes from.
11
11
Or, it can take as an input the name of a file which contains the release notes
12
12
to include in the Release.
13
+ Or, it can create a release that doesn't contain any release notes, i.e. it is empty.
13
14
14
15
## ** Required Parameters**
15
16
@@ -35,6 +36,8 @@ to include in the Release.
35
36
logging to console.
36
37
- ` -t, --template ` : The path to the file to be used as the template for the
37
38
release notes.
39
+ - ` --allowEmpty ` : Allow the creation of an empty set of release notes. In this
40
+ mode, milestone and input file path will be ignored.
38
41
39
42
## ** Template**
40
43
@@ -61,3 +64,9 @@ gitreleasemanager.exe create -i c:\temp\releasenotes.md -n 0.1.0 --token fsdfsf6
61
64
62
65
gitreleasemanager.exe create --inputFilePath c:\t emp\r eleasenotes.md --name 0.1.0 --token fsdfsf67657sdf5s7d5f --owner repoOwner --repository repo
63
66
```
67
+
68
+ Use GitReleaseManager to create an empty release:
69
+
70
+ ``` bash
71
+ gitreleasemanager.exe create -n 0.1.0 --token fsdfsf67657sdf5s7d5f -o repoOwner -r repo --allowEmpty
72
+ ```
You can’t perform that action at this time.
0 commit comments