Skip to content

Commit a07719f

Browse files
committed
Merge branch 'main' of github.com:pg8wood/changelog-generator into main
2 parents b1773e5 + 2cddd78 commit a07719f

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/test-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Swift
1+
name: Test and Build Release
22

33
on:
44
push:
@@ -14,4 +14,4 @@ jobs:
1414
- name: Build release
1515
run: swift build --configuration release
1616

17-
# - name: Add to Changelog TODO dogfood changelog
17+
# TODO dogfood changelog

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $ changelog log addition "I added something cool" "And something boring"
3030
```
3131

3232
#### Arguments
33-
```sh
33+
```
3434
<entry-type> The type of changelog entry to create.
3535
Valid entry types are addition, change, and fix.
3636
@@ -39,14 +39,14 @@ $ changelog log addition "I added something cool" "And something boring"
3939
```
4040

4141
#### Options
42-
```sh
42+
```
4343
-d, --directory <path> A directory where unpublished changelog entries will be written to / read from as Markdown files. (default: changelogs/unreleased/)
4444
-e, --editor <editor> A terminal-based text editor executable in your $PATH used to write your changelog entry with more precision than the default bulleted list of changes. (default: vim)
4545
-h, --help Show help information.
4646
```
4747

4848
### Publish a Release
49-
```sh
49+
```
5050
$ changelog publish 1.0.1
5151
5252
## [1.0.1] - 02-26-2021
@@ -59,19 +59,18 @@ Nice! CHANGELOG.md was updated. Congrats on the release! 🥳🍻
5959
```
6060

6161
#### Arguments
62-
```sh
62+
```
6363
<version> The version number associated with the changelog entries to be published.
64-
<release-date> A string representing the date the version was published. Format MM-dd-YYYY. (default: 02-26-2021)
65-
64+
<release-date> A string representing the date the version was published. Format MM-dd-YYYY. (default: <today>)
6665
```
6766

6867
#### Options
69-
```sh
70-
-d, --directory <path> A directory where unpublished changelog entries will be written to / read from as Markdown files. (default: changelogs/unreleased/ -- file:///Users/patrickgatewood/Documents/changelog-generator/)
68+
```
69+
-d, --directory <path> A directory where unpublished changelog entries will be written to / read from as Markdown files. (default: changelogs/unreleased/)
7170
--dry-run Prints the changelog entries that would have been appended to the CHANGELOG and doesn't delete any files in changelogs/unreleased.
7271
--changelog-filename <changelog-filename>
7372
The CHANGELOG file to which the unreleased changelog entries will be prepended. (default: CHANGELOG.md)
74-
-h, --header <path> A Markdown file containing optional header text that will be prepended to your changelog. (default: changelogs/header.md -- file:///Users/patrickgatewood/Documents/changelog-generator/)
73+
-h, --header <path> A Markdown file containing optional header text that will be prepended to your changelog. (default: changelogs/header.md)
7574
If the supplied file does not exist or is not readable, no text will be prepended to the changelog.
76-
-h, --help Show help information.
75+
--help Show help information.
7776
```

0 commit comments

Comments
 (0)