Skip to content

Commit

Permalink
add new changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Dec 10, 2021
1 parent 866bf13 commit 33fe5cd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@ jobs:
BUTTERFLY_RELEASE_DATE=$(date +%Y-%m-%d)
echo "BUTTERFLY_RELEASE_DATE=${BUTTERFLY_RELEASE_DATE}" >> $GITHUB_ENV
CURRENT_CHANGELOG=$(cat fastlane/metadata/android/en-US/changelogs/${BUTTERFLY_BUILD_NUMBER}.txt)
# Escape line breaks to \\n
CURRENT_CHANGELOG=$(echo "${CURRENT_CHANGELOG}" | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/\\n/g')
echo "CURRENT_CHANGELOG=${CURRENT_CHANGELOG}" >> $GITHUB_ENV
printf "INPUT_CHANGELOG=\"<\!--ENTER CHANGELOG HERE-->\n\n## ${BUTTERFLY_VERSION} (${BUTTERFLY_RELEASE_DATE})\n\n${CURRENT_CHANGELOG}\"" >> $GITHUB_ENV
git config --global user.email "actions@github.com"
git config --global user.name "Actions"
- name: Update changelog
run: |
INPUT_CHANGELOG="${{ env.INPUT_CHANGELOG }}"
BUTTERFLY_VERSION="${{ env.BUTTERFLY_VERSION }}"
sed -i "s/<\!--ENTER CHANGELOG HERE-->/${INPUT_CHANGELOG}/g" docs/community/CHANGELOG.md
BUTTERFLY_VERSION=${{ env.BUTTERFLY_VERSION }}
BUTTERFLY_RELEASE_DATE=${{ env.BUTTERFLY_RELEASE_DATE }}
CURRENT_CHANGELOG=${{ env.CURRENT_CHANGELOG }}
INPUT_CHANGELOG=$"<\!--ENTER CHANGELOG HERE-->\n\n## ${BUTTERFLY_VERSION} (${BUTTERFLY_RELEASE_DATE})\n\n${CURRENT_CHANGELOG}"
# Replace <!--ENTER CHANGELOG HERE--> with multiline INPUT_CHANGELOG in docs/community/CHANGELOG.md. MUlTILINE!
sed -i -e "s/<\!--ENTER CHANGELOG HERE-->/${INPUT_CHANGELOG}/g" docs/community/CHANGELOG.md
git add docs/community/CHANGELOG.md
git commit -m "Update CHANGELOG.md for ${BUTTERFLY_VERSION}"
git push origin develop
Expand Down
16 changes: 16 additions & 0 deletions docs/community/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ slug: /changelog

<!--ENTER CHANGELOG HERE-->

## 1.0.0-rc.5 (2021-12-10)

* Add eraser exclude property for the hand
* Add folder creation feature to the file system
* Add move feature to the file system
* Add search to waypoints dialog
* Add path and search widget to open dialog
* Add hand properties
* Add nightly icon
* Add pwa documentation
* Implement move/duplicate for elements
* Prevent browser behaviors on the web version
* Fixing file system on native platforms
* Fix splash screen on screen readers
* Fix some dialog themes to have rounded corners

## 1.0.0-rc.4 (2021-11-27)

* Add file system with files and folders native and indexeddb in web ([#53](https://github.com/LinwoodCloud/butterfly/pull/53))
Expand Down

2 comments on commit 33fe5cd

@vercel
Copy link

@vercel vercel bot commented on 33fe5cd Dec 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 33fe5cd Dec 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.