Skip to content

Commit

Permalink
release: v0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
reruin committed Oct 12, 2021
1 parent 0e7f929 commit 069f617
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions packages/sharelist/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [0.3.6](https://github.com/reruin/sharelist/compare/v0.3.5...v0.3.6) (2021-10-12)



## [0.3.6](https://github.com/reruin/sharelist/compare/v0.3.5...v0.3.6) (2021-10-12)



## [0.3.5](https://github.com/reruin/sharelist/compare/v0.3.4...v0.3.5) (2021-10-11)


Expand Down
2 changes: 1 addition & 1 deletion packages/sharelist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sharelist",
"version": "0.3.5",
"version": "0.3.6",
"bin": "app.js",
"repository": "https://github.com/reruin/sharelist",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const skipBuild = args.skipBuild

const skipNpmPublish = args.skipNpmPublish

const commitPath = args['commit-path'] || ''
const commitPath = args['commit-path']

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

0 comments on commit 069f617

Please sign in to comment.