diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7c6ecb..0f4e09b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: - name: changelog id: changelog run: | - changelog=$(git log --pretty="* %s" `git describe --abbrev=0 --tags \`git describe --abbrev=0 \`HEAD`...`git describe --abbrev=0`) + changelog=$(git log --pretty="* %s" ...$(git describe --abbrev=0 HEAD~)) echo ${changelog} changelog="${changelog//'%'/'%25'}" changelog="${changelog//$'\n'/'%0A'}"