mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: use amend for pre-release
This commit is contained in:
parent
30438e6532
commit
9dc9a9477c
17
.github/workflows/pre-release.yml
vendored
17
.github/workflows/pre-release.yml
vendored
@ -19,10 +19,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
node utils/generate_version_file.js
|
node utils/generate_version_file.js
|
||||||
IS_RELEASE=1 npm run doc
|
IS_RELEASE=1 npm run doc
|
||||||
- name: Commit and push
|
- name: Get last commit message
|
||||||
|
id: last-commit-message
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "55107282+release-please[bot]@users.noreply.github.com"
|
echo "::set-output name=msg::$(git log -1 --pretty=%s)"
|
||||||
git config --global user.name "release-please[bot]"
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
git add -A
|
with:
|
||||||
git commit -m "chore: freeze version for release"
|
commit_user_name: 55107282+release-please[bot]@users.noreply.github.com
|
||||||
git push
|
commit_user_email: release-please[bot]
|
||||||
|
commit_message: ${{ steps.last-commit-message.outputs.msg }}
|
||||||
|
commit_options: '--amend --no-edit'
|
||||||
|
push_options: '--force'
|
||||||
|
skip_fetch: true
|
||||||
|
Loading…
Reference in New Issue
Block a user