diff --git a/index.js b/index.js index 14c4498..83c68d1 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ Toolkit.run(async tools => { const remoteRepo = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git` console.log('remoteRepo:', remoteRepo) - await tools.runInWorkspace('git', ['tag', '-a', newVersion]) + await tools.runInWorkspace('git', ['tag', newVersion]) await tools.runInWorkspace('git', ['push', `"${remoteRepo}"`, '--follow-tags']) await tools.runInWorkspace('git', ['push', `"${remoteRepo}"`, '--tags']) } catch (e) {