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

Ignore PIPE signal
This commit is contained in:
bulldozer-balena[bot] 2022-11-10 21:06:18 +00:00 committed by GitHub
commit 7cb8349f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 7 deletions

View File

@ -26,7 +26,7 @@ runs:
github.event.pull_request.merged == false &&
github.event.action == 'closed'
shell: bash --noprofile --norc -eo pipefail -x {0}
shell: bash
run: |
set -ea

View File

@ -16,7 +16,7 @@ runs:
- name: Get release version
if: runner.os == 'Linux'
id: get_release
shell: bash --noprofile --norc -eo pipefail -x {0}
shell: bash
run: |
set -ea
@ -31,6 +31,9 @@ runs:
run: |
set -ea
# https://stackoverflow.com/a/22464942/1559300
trap '' PIPE
[[ '${{ inputs.VERBOSE }}' =~ on|On|Yes|yes|true|True ]] && set -x
previous_tag="$(git tag --sort=-version:refname | head -n 2 | tail -n 1)"

View File

@ -44,13 +44,13 @@ runs:
- name: Install additional tools
if: runner.os == 'Windows'
shell: bash --noprofile --norc -eo pipefail -x {0}
shell: bash
run: |
choco install yq
- name: Install additional tools
if: runner.os == 'macOS'
shell: bash --noprofile --norc -eo pipefail -x {0}
shell: bash
run: |
brew install coreutils
@ -84,7 +84,7 @@ runs:
# https://github.com/product-os/balena-concourse/blob/master/pipelines/github-events/template.yml
- name: Package release
id: package_release
shell: bash --noprofile --norc -eo pipefail -x {0}
shell: bash
run: |
set -ea

View File

@ -24,7 +24,7 @@ runs:
steps:
- name: Delete previous draft release
if: runner.os == 'Linux'
shell: bash --noprofile --norc -eo pipefail -x {0}
shell: bash
run: |
set -ea
@ -43,7 +43,7 @@ runs:
cache: npm
- name: Test release
shell: bash --noprofile --norc -eo pipefail -x {0}
shell: bash
run: |
set -ea