From 5b5b02ef86261e0225a546ef3d90496a71704a12 Mon Sep 17 00:00:00 2001 From: David Dollar Date: Mon, 13 Jan 2020 15:32:57 -0500 Subject: [PATCH] ci: build release description from commit history (#74) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}"