From c070b6e6e519501c9fd32cbfa84157a8fd8f1ecf Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Wed, 16 Mar 2022 09:11:56 +0800 Subject: [PATCH] github: workflow changes note --- .github/workflows/macos-6.2.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/ubuntu-6.2.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows-6.2.yml | 2 +- .github/workflows/windows.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/macos-6.2.yml b/.github/workflows/macos-6.2.yml index c5c50002..a541d13c 100644 --- a/.github/workflows/macos-6.2.yml +++ b/.github/workflows/macos-6.2.yml @@ -82,7 +82,7 @@ jobs: previousTag=$(git tag --sort=-creatordate | sed -n 2p) echo "previousTag : $previousTag" - CHANGELOG="$(git shortlog $previousTag..HEAD)" + CHANGELOG="$(git log --oneline --no-decorate $previousTag..HEAD)" CHANGELOG="${CHANGELOG//'%'/'%25'}" CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9689b3fc..16df50ba 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -83,7 +83,7 @@ jobs: previousTag=$(git tag --sort=-creatordate | sed -n 2p) echo "previousTag : $previousTag" - CHANGELOG="$(git shortlog $previousTag..HEAD)" + CHANGELOG="$(git log --oneline --no-decorate $previousTag..HEAD)" CHANGELOG="${CHANGELOG//'%'/'%25'}" CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" diff --git a/.github/workflows/ubuntu-6.2.yml b/.github/workflows/ubuntu-6.2.yml index cb9ab2da..f850e6f3 100644 --- a/.github/workflows/ubuntu-6.2.yml +++ b/.github/workflows/ubuntu-6.2.yml @@ -95,7 +95,7 @@ jobs: previousTag=$(git tag --sort=-creatordate | sed -n 2p) echo "previousTag : $previousTag" - CHANGELOG="$(git shortlog $previousTag..HEAD)" + CHANGELOG="$(git log --oneline --no-decorate $previousTag..HEAD)" CHANGELOG="${CHANGELOG//'%'/'%25'}" CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index bf1bebf0..8dd82a94 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -91,7 +91,7 @@ jobs: previousTag=$(git tag --sort=-creatordate | sed -n 2p) echo "previousTag : $previousTag" - CHANGELOG="$(git shortlog $previousTag..HEAD)" + CHANGELOG="$(git log --oneline --no-decorate $previousTag..HEAD)" CHANGELOG="${CHANGELOG//'%'/'%25'}" CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" diff --git a/.github/workflows/windows-6.2.yml b/.github/workflows/windows-6.2.yml index 74bdd822..4c960071 100644 --- a/.github/workflows/windows-6.2.yml +++ b/.github/workflows/windows-6.2.yml @@ -85,7 +85,7 @@ jobs: previousTag=$(git tag --sort=-creatordate | sed -n 2p) echo "previousTag : $previousTag" - CHANGELOG="$(git shortlog $previousTag..HEAD)" + CHANGELOG="$(git log --oneline --no-decorate $previousTag..HEAD)" CHANGELOG="${CHANGELOG//'%'/'%25'}" CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1b02399a..5755f5a9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -84,7 +84,7 @@ jobs: previousTag=$(git tag --sort=-creatordate | sed -n 2p) echo "previousTag : $previousTag" - CHANGELOG="$(git shortlog $previousTag..HEAD)" + CHANGELOG="$(git log --oneline --no-decorate $previousTag..HEAD)" CHANGELOG="${CHANGELOG//'%'/'%25'}" CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"