Skip to content

Commit

Permalink
feat: add changelog during release (#61)
Browse files Browse the repository at this point in the history
* feat: add changelog during release

* feat: save package as dev

* feat: refactor
  • Loading branch information
akashrpo authored Sep 5, 2024
1 parent ef40300 commit 32b31ef
Show file tree
Hide file tree
Showing 3 changed files with 575 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,14 @@ jobs:
echo "CURRENT_VERSION_VALUE=$current_version" >> $GITHUB_ENV
echo "NEW_VERSION_VALUE=$new_version" >> $GITHUB_ENV
- name: Bump version
- name: Update changelog & bump version
id: finish-release
env:
HUSKY: 0
run: |
SUMMARY=$(((npx conventional-changelog -u) 2>&1) | sed "s/*/<br> */g" | sed "s/#/ /g" | tr -d '\n' || true)
echo $SUMMARY
echo "::set-output name=commit_summary::$SUMMARY"
echo "Current version: $CURRENT_VERSION_VALUE"
echo "New version: $NEW_VERSION_VALUE"
git fetch --no-tags --prune --depth=100 origin master
Expand Down
Loading

0 comments on commit 32b31ef

Please sign in to comment.