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: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This is a library that can:
7
7
- Generate a changelog, or releasenotes, from a GIT repository.
8
8
- Determine next version, based on format of commits since last release.
9
9
10
-
It is fully configurable with a [Mustache (Handlebars)](https://github.com/jknack/handlebars.java) template and [helpers](#Helpers).
10
+
It is fully configurable with a [Mustache (Handlebars)](https://github.com/jknack/handlebars.java) template filled with a [context of placeholders](#Context)and [helpers](#Helpers).
11
11
12
12
The changelog can:
13
13
@@ -446,15 +446,16 @@ Works just like [Java substring](<https://docs.oracle.com/javase/7/docs/api/java
446
446
447
447
## Context
448
448
449
-
The template is supplied with this context:
449
+
The template is supplied with this context of prepopulated mustache/handlebars variables:
450
450
451
451
<details><summary>Click here to show context</summary>
452
452
<p>
453
453
454
454
```
455
-
- ownerName (Derived from the clone URL, for this repo it would be "tomasbjerre")
456
-
- repoName (Derived from the clone URL, for this repo it would be "git-changelog-lib")
457
-
- urlParts (Derived from the clone URL, for this repo it would be [git-changelog-lib, tomasbjerre, git@github.com])
455
+
(ownerName, repoName, urlParts - derived from the clone URL, git remote origin MUST BE SET)
456
+
- ownerName (for this repo it would be "tomasbjerre")
457
+
- repoName (for this repo it would be "git-changelog-lib")
458
+
- urlParts (for this repo it would be [git-changelog-lib, tomasbjerre, git@github.com])
0 commit comments