We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afadd14 commit b876ba5Copy full SHA for b876ba5
1 file changed
.github/workflows/publish.yml
@@ -25,6 +25,10 @@ jobs:
25
run: npm run build
26
- name: Run tests
27
run: npm test
28
+ - name: Configure git
29
+ run: |
30
+ git config --local user.email "github-actions@github.com"
31
+ git config --local user.name "GitHub Actions"
32
- name: Update package.json with release tag
33
run: |
34
TAG="${{ github.event.release.tag_name }}"
@@ -33,8 +37,6 @@ jobs:
37
- name: Commit and push version update
38
35
39
36
- git config user.name "github-actions"
- git config user.email "github-actions@github.com"
40
git add package.json package-lock.json
41
git commit -m "Update package.json to version $TAG"
42
git push origin ${{ github.event.repository.default_branch }}
0 commit comments