Upgrade simple-git (#111)

* chore: upgrade simple-git

* [auto] build: update compiled version
This commit is contained in:
Federico Grandi
2020-12-19 17:05:44 +01:00
committed by GitHub
parent da58dc8f9a
commit b17846f438
4 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

8
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "add-and-commit",
"version": "5.2.0",
"version": "5.3.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -1569,9 +1569,9 @@
"dev": true
},
"simple-git": {
"version": "2.23.0",
"resolved": "https://registry.npmjs.org/simple-git/-/simple-git-2.23.0.tgz",
"integrity": "sha512-s/gEkxFV2WGTN4kO1uQoA4cE4rq0FRzQPR5Yhgg8JUuA4IhOeccjlKSFhwF3rrpo7797ZvQc7L6hJJNA4szHCw==",
"version": "2.27.0",
"resolved": "https://registry.npmjs.org/simple-git/-/simple-git-2.27.0.tgz",
"integrity": "sha512-/Q4aolzErYrIx6SgyH421jmtv5l1DaAw+KYWMWy229+isW6yld/nHGxJ2xUR/aeX3SuYJnbucyUigERwaw4Xow==",
"requires": {
"@kwsites/file-exists": "^1.1.1",
"@kwsites/promise-deferred": "^1.1.1",

View File

@@ -36,7 +36,7 @@
"dependencies": {
"@actions/core": "^1.2.6",
"axios": "^0.21.0",
"simple-git": "2.23.0"
"simple-git": "^2.27.0"
},
"devDependencies": {
"@types/node": "^12.12.54",

View File

@@ -113,7 +113,7 @@ console.log(`Running in ${baseDir}`)
if (getInput('tag')) {
info('> Pushing tags to repo...')
await git
.pushTags('origin', (e, d?) => log(undefined, e || d))
.pushTags('origin', undefined, (e, d?) => log(undefined, e || d))
.catch(() => {
info('> Tag push failed: deleting remote tag and re-pushing...')
return git
@@ -129,7 +129,7 @@ console.log(`Running in ${baseDir}`)
},
log
)
.pushTags('origin', log)
.pushTags('origin', undefined, log)
})
} else info('> No tags to push.')
} else info('> Not pushing anything.')