Skip to content

Commit

Permalink
chore: 1
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Jan 25, 2024
1 parent 1addf23 commit fe8e69d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ async function pushGit(version: string, remote = 'origin', skipGitTag = false) {

if (!skipGitTag) {
await execa('git', ['tag', `v${version}`])
await execa('git', ['push', remote, `v${version}`])
}

await execa('git', ['push', remote, `v${version}`])

const ret = await execa('git', ['push'])
s.success({ text: 'Push remote repository successfully' })
ret.stdout && logger.info(ret.stdout)
Expand Down

0 comments on commit fe8e69d

Please sign in to comment.