Skip to content

Commit

Permalink
chore: update the release action for gen changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jun 27, 2022
1 parent 6a3c5f6 commit 8592217
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
fetch-depth: 0

- name: Setup ENV
- name: Set tag ENV
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
run: |
echo "RELEASE_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
Expand All @@ -30,6 +30,7 @@ jobs:
- name: Generate changelog
run: |
curl https://github.com/gookit/gitw/releases/latest/download/chlog-linux-amd64 -o /usr/local/bin/chlog
chmod a+x /usr/local/bin/chlog
chlog -config .github/changelog.yml -output changelog.md prev last
# https://github.com/softprops/action-gh-release
Expand Down

0 comments on commit 8592217

Please sign in to comment.