Skip to content

Commit 99d5432

Browse files
committed
chore(cicd): error handling
1 parent a0f9a4a commit 99d5432

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ jobs:
5656
- name: run semantic release
5757
id: set_semantic_version
5858
run: |
59-
# Set pipefail so we can check if pipefail is semantic-release classifying no version bump required as an error
60-
set -o pipefail
59+
# Set error to not instantly fail so we can check if error is semantic-release classifying no version bump required as an error
60+
set +e
6161
OUTPUT=$(npx semantic-release 2>&1) || STATUS=$?
62+
set -e
6263
echo "$OUTPUT"
6364
6465
# 0 not exclusively due to no version bump so check output

0 commit comments

Comments
 (0)