Skip to content

Commit

Permalink
fix: log commit error
Browse files Browse the repository at this point in the history
  • Loading branch information
rkulinski committed Nov 24, 2023
1 parent 8c1684c commit 69f66ae
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,13 @@ async function run() {
console.info(` Github release created.`)

console.info(`Committing changes...`)
execSync("git add -A ")
execSync(`git commit -m "${releaseCommitMsg(version)}"`)
execSync('git add -A ')
try {
execSync(`git commit -m "${releaseCommitMsg(version)}"`)
} catch (e) {
console.error(e)
}

console.info()
console.info(` Committed Changes.`)
console.info(`Pushing changes...`)
Expand Down

0 comments on commit 69f66ae

Please sign in to comment.