Skip to content

Commit

Permalink
feat: release 0.41.2 (#842)
Browse files Browse the repository at this point in the history
* feat: release 0.41.2

* feat: optimize release md

* docs: optimize changelog style

* docs: add 0.41.2 changelog

* feat: update common

* docs: add Datepicker changelog
  • Loading branch information
xiaosansiji authored May 7, 2022
1 parent 0375b77 commit fb0effb
Show file tree
Hide file tree
Showing 4 changed files with 268 additions and 247 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
github.event_name == 'issue_comment'
&& github.event.issue.pull_request
&& github.event.sender.login == github.event.issue.user.login
&& startsWith(github.event.comment.body, '### ')
&& startsWith(github.event.comment.body, '## 🌈 ')
steps:
- id: comment
shell: bash
Expand All @@ -56,7 +56,9 @@ jobs:
- run: echo '${{ github.event.comment.body }}'
- name: Commit and push if needed
run: |
echo "$(echo '${{ github.event.comment.body }}' | cat - CHANGELOG.md)" > CHANGELOG.md
txt=$(cat CHANGELOG.md)
body='${{ github.event.comment.body }}'
echo "${txt%%##*}${body}${txt##*---}" > CHANGELOG.md
git add .
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
Expand All @@ -73,6 +75,7 @@ jobs:
- uses: actions/checkout@v3
with:
ref: develop
token: ${{ secrets.PERSONAL_TOKEN }}
- name: tag and push if needed
run: |
data=$(cat package.json)
Expand Down
Loading

0 comments on commit fb0effb

Please sign in to comment.