Skip to content

Commit 22acdbc

Browse files
committed
fix: commit stamped files prior to publish
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
1 parent f8c284a commit 22acdbc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ jobs:
8484
# with:
8585
# github-token: ${{ secrets.GITHUB_TOKEN }}
8686

87+
- name: push stamped release
88+
if: ${{ steps.release.outputs.release_created }}
89+
run: |
90+
git config user.name github-actions[bot]
91+
git config user.email 4104672+github-actions[bot]@users.noreply.github.com
92+
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/${{ github.repository }}.git"
93+
git commit -a -m 'chore: stamp files for release'
94+
git push origin
95+
8796
- name: Publish
8897
if: ${{ steps.release.outputs.release_created }}
8998
env:

.github/workflows/test-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ env:
66
on:
77
pull_request:
88
push:
9+
tags-ignore:
10+
- '**'
911

1012
jobs:
1113
build:

0 commit comments

Comments
 (0)