Merge pull request #2562 from balena-io/ab77/operational

Prevent git from existing with 141
This commit is contained in:
bulldozer-balena[bot] 2022-11-11 00:47:34 +00:00 committed by GitHub
commit ac9e2a9e7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)"