Skip to content

💥 Checks should be able to fail in release scripts (remove set +e) #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Tracked by #694
NickLarsenNZ opened this issue Apr 24, 2025 · 0 comments · May be fixed by #105
Open
Tracked by #694

💥 Checks should be able to fail in release scripts (remove set +e) #103

NickLarsenNZ opened this issue Apr 24, 2025 · 0 comments · May be fixed by #105
Labels
release-retro/25.3.0 Indicates this issue or PR is part of improvements resulting from the Release Retro 25.3.0

Comments

@NickLarsenNZ
Copy link
Member

NickLarsenNZ commented Apr 24, 2025

Note

This came out of the 25.3.0 Release Retro.

Currently, failures are ignored during checks.

Examples

# sanity checks before we start: folder, branches etc.
# deactivate -e so that piped commands can be used
set +e
checks
set -e

# sanity checks before we start: folder, branches etc.
# deactivate -e so that piped commands can be used
set +e
check_operators
set -e

set +e
check_products
set -e

# sanity checks before we start: folder, branches etc.
# deactivate -e so that piped commands can be used
set +e
checks
set -e

@NickLarsenNZ NickLarsenNZ added the release-retro/25.3.0 Indicates this issue or PR is part of improvements resulting from the Release Retro 25.3.0 label Apr 24, 2025
@NickLarsenNZ NickLarsenNZ changed the title 💥 Checks should fail in release scripts (remove set +e) 💥 Checks should be able to fail in release scripts (remove set +e) Apr 24, 2025
@NickLarsenNZ NickLarsenNZ linked a pull request May 2, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-retro/25.3.0 Indicates this issue or PR is part of improvements resulting from the Release Retro 25.3.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant