From 52e95e6d0a96cfb07c111b927f3f8b0607063b99 Mon Sep 17 00:00:00 2001 From: ab77 Date: Thu, 10 Nov 2022 15:52:13 -0800 Subject: [PATCH] Prevent git from existing with 141 Change-type: patch --- .github/actions/finalize/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/finalize/action.yml b/.github/actions/finalize/action.yml index 50c42d80..fdf3511f 100644 --- a/.github/actions/finalize/action.yml +++ b/.github/actions/finalize/action.yml @@ -38,6 +38,9 @@ runs: [[ '${{ inputs.VERBOSE }}' =~ on|On|Yes|yes|true|True ]] && set -x + # prevent git from existing with 141 + set +o pipefail + previous_tag="$(git tag --sort=-version:refname | head -n 2 | tail -n 1)" release_notes="$(git log ${previous_tag}..HEAD --pretty=reference)"