Skip to content

Commit

Permalink
feat:
Browse files Browse the repository at this point in the history
  • Loading branch information
lsxredrain committed Sep 9, 2021
1 parent 2d80761 commit 6771ccd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions push.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ function funCommitMessage() {
}
function funShell() {
shell.exec('git pull')
shell.exec('git add -A .')
shell.exec(`git commit -m ${commitType}: &{commitMsg}`)
shell.exec('git push')
shell.exec('git status')
try {
shell.exec('conventional-changelog -p angular -i CHANGELOG.md -r 0 -s')
shell.exec('rimraf CHANGELOG.md && conventional-changelog -p angular -i CHANGELOG.md -r 0 -s')
}catch{
console.log(e.toString())
}
shell.exec('git add -A .')
shell.exec(`git commit -m ${commitType}: &{commitMsg}`)
shell.exec('git push')
shell.exec('git status')
}
rimLog('CHANGELOG.md')

0 comments on commit 6771ccd

Please sign in to comment.