name
This commit is contained in:
parent
c70c7a0293
commit
8d8cd06086
|
@ -17,7 +17,7 @@ jobs:
|
|||
uses: "actions/setup-node@v1"
|
||||
with:
|
||||
node-version: 8.10
|
||||
- name: "Bump Version"
|
||||
- name: "Automated Version Bump"
|
||||
uses: "phips28/gh-action-bump-version@master"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name: Bump Version
|
||||
name: Automated Version Bump
|
||||
description: Automated version bump for npm packages.
|
||||
runs:
|
||||
using: docker
|
||||
|
|
2
index.js
2
index.js
|
@ -26,7 +26,7 @@ Toolkit.run(async tools => {
|
|||
try {
|
||||
const current = pkg.version.toString()
|
||||
// set git user
|
||||
await tools.runInWorkspace('git', ['config', 'user.name', '"Bump Version"'])
|
||||
await tools.runInWorkspace('git', ['config', 'user.name', '"Automated Version Bump"'])
|
||||
await tools.runInWorkspace('git', ['config', 'user.email', '"gh-action-bump-version@users.noreply.github.com"'])
|
||||
|
||||
await tools.runInWorkspace('git', ['checkout', 'master'])
|
||||
|
|
Loading…
Reference in New Issue