This commit is contained in:
phips28 2019-10-26 22:32:18 +02:00
parent c70c7a0293
commit 8d8cd06086
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ jobs:
uses: "actions/setup-node@v1" uses: "actions/setup-node@v1"
with: with:
node-version: 8.10 node-version: 8.10
- name: "Bump Version" - name: "Automated Version Bump"
uses: "phips28/gh-action-bump-version@master" uses: "phips28/gh-action-bump-version@master"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,4 +1,4 @@
name: Bump Version name: Automated Version Bump
description: Automated version bump for npm packages. description: Automated version bump for npm packages.
runs: runs:
using: docker using: docker

View File

@ -26,7 +26,7 @@ Toolkit.run(async tools => {
try { try {
const current = pkg.version.toString() const current = pkg.version.toString()
// set git user // 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', ['config', 'user.email', '"gh-action-bump-version@users.noreply.github.com"'])
await tools.runInWorkspace('git', ['checkout', 'master']) await tools.runInWorkspace('git', ['checkout', 'master'])