From aa402e42fe04bb6dc3185d16d6a5f0d83ce924cc Mon Sep 17 00:00:00 2001 From: tallyb Date: Mon, 13 May 2019 17:08:54 +0300 Subject: [PATCH] fix(app): Fix git add --- lib/gitHelper.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gitHelper.js b/lib/gitHelper.js index f775f91..706c6f5 100644 --- a/lib/gitHelper.js +++ b/lib/gitHelper.js @@ -16,7 +16,7 @@ const getCurrentBranch = async function() { const commitVersion = async function(version, production) { let commitMessage = `chore(app): Version ${version} ${production ? ' production' : ''} `; try { - await git.add('./*'); + await git.add('.'); await git.commit(commitMessage); await git.addAnnotatedTag(version, 'v' + version); await git.push('origin', 'master'); diff --git a/package.json b/package.json index d612a19..db03303 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcfly-semantic-release", - "version": "1.1.8", + "version": "1.1.9", "description": "A cli tool to bump version and publish to github", "bin": { "mcfly-semantic-release": "./bin/mcfly-semantic-release.js"