@aklinker1/zero-changelog 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ async function createRelease(options) {
23
23
  tag_name: options.tag,
24
24
  name: options.name,
25
25
  body: options.body,
26
- make_latest: options.latest,
26
+ make_latest: String(options.latest),
27
27
  prerelease: options.prerelease
28
28
  })
29
29
  });
package/dist/release.mjs CHANGED
@@ -92,14 +92,20 @@ async function release(options) {
92
92
  cwd: path,
93
93
  cmd
94
94
  });
95
+ const commit = template(commitTemplate, {
96
+ version,
97
+ path,
98
+ dirname
99
+ });
95
100
  await run({
96
101
  dryRun,
97
102
  cwd: path,
98
- cmd: `git commit -am "${template(commitTemplate, {
99
- version,
100
- path,
101
- dirname
102
- })}"`
103
+ cmd: `git add CHANGELOG.md`
104
+ });
105
+ await run({
106
+ dryRun,
107
+ cwd: path,
108
+ cmd: `git commit -am "${commit}"`
103
109
  });
104
110
  await run({
105
111
  dryRun,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aklinker1/zero-changelog",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Zero-dependency, conventional commit release and changelog generator with monorepo support",
5
5
  "keywords": [
6
6
  "changelog",