From 47a3465dcea30cea2147060c9f01295e7015feb0 Mon Sep 17 00:00:00 2001 From: 9FS Date: Wed, 18 Sep 2024 19:38:01 +0000 Subject: [PATCH] hopefully works now --- .github/workflows/on tag deploy on github.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on tag deploy on github.yaml b/.github/workflows/on tag deploy on github.yaml index 1a2c080..735cb35 100644 --- a/.github/workflows/on tag deploy on github.yaml +++ b/.github/workflows/on tag deploy on github.yaml @@ -31,7 +31,7 @@ jobs: - name: "TAG_PREVIOUS" id: "tag_previous" - run: "echo \"TAG_PREVIOUS=$(git describe --tags --abbrev=0 HEAD~1)\" >> $GITHUB_OUTPUT" # get previous tag, save in TAG_PREVIOUS, push to output + run: "echo \"TAG_PREVIOUS=$(git describe --tags --abbrev=0 $(git describe --tags --abbrev=0)^)\" >> $GITHUB_OUTPUT" # get previous tag, save in TAG_PREVIOUS, push to output - name: "TODAY" id: "today" @@ -85,7 +85,7 @@ jobs: - name: "Generate Changelog" id: "generate_changelog" run: | - commit_messages=$(git log --pretty=format:"- %h %s" ${{needs.initialisation.outputs.TAG_PREVIOUS}}..${{needs.initialisation.outputs.TAG}}) + commit_messages=$(git log --pretty=format:"- %cd (%h): %s" ${{needs.initialisation.outputs.TAG_PREVIOUS}}..${{needs.initialisation.outputs.TAG}}) echo "changelog=# Changelog\n\n$commit_messages" >> $GITHUB_OUTPUT - name: "Create Release"