fix script

This commit is contained in:
phips28 2019-10-26 21:59:37 +02:00
parent 02b3f4b1a7
commit 2c3b50b347
1 changed files with 1 additions and 1 deletions

View File

@ -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` const remoteRepo = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git`
console.log('remoteRepo:', remoteRepo) 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}"`, '--follow-tags'])
await tools.runInWorkspace('git', ['push', `"${remoteRepo}"`, '--tags']) await tools.runInWorkspace('git', ['push', `"${remoteRepo}"`, '--tags'])
} catch (e) { } catch (e) {