Skip to content

Commit 069f617

Browse files
committed
release: v0.3.6
1 parent 0e7f929 commit 069f617

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

packages/sharelist/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [0.3.6](https://github.com/reruin/sharelist/compare/v0.3.5...v0.3.6) (2021-10-12)
2+
3+
4+
5+
## [0.3.6](https://github.com/reruin/sharelist/compare/v0.3.5...v0.3.6) (2021-10-12)
6+
7+
8+
19
## [0.3.5](https://github.com/reruin/sharelist/compare/v0.3.4...v0.3.5) (2021-10-11)
210

311

packages/sharelist/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sharelist",
3-
"version": "0.3.5",
3+
"version": "0.3.6",
44
"bin": "app.js",
55
"repository": "https://github.com/reruin/sharelist",
66
"license": "MIT",

scripts/release.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const skipBuild = args.skipBuild
2828

2929
const skipNpmPublish = args.skipNpmPublish
3030

31-
const commitPath = args['commit-path'] || ''
31+
const commitPath = args['commit-path']
3232

3333
/**
3434
* @type {import('semver').ReleaseType[]}
@@ -136,7 +136,7 @@ async function main() {
136136
const { stdout } = await run('git', ['diff'], { stdio: 'pipe' })
137137
if (stdout) {
138138
step('\nCommitting changes...')
139-
await run('git', ['add', commitPath, '-A'])
139+
await run('git', ['add', '-A'].concat(commitPath || []))
140140
await run('git', ['commit', '-m', `release: ${tag}`])
141141
} else {
142142
console.log('No changes to commit.')

0 commit comments

Comments
 (0)