Skip to content

Use set -e to catch errors in all scripts#3777

Merged
lzchen merged 2 commits intoopen-telemetry:mainfrom
johnbley:shell_set_dashe
Mar 14, 2024
Merged

Use set -e to catch errors in all scripts#3777
lzchen merged 2 commits intoopen-telemetry:mainfrom
johnbley:shell_set_dashe

Conversation

@johnbley
Copy link
Copy Markdown
Member

Description

A couple of build scripts were not setting -e to detect errors in commands (the other scripts already were).

Does This PR Require a Contrib Repo Change?

Answer the following question based on these examples of changes that would require a Contrib Repo Change:

  • Scripts in scripts/ that were copied over to the Contrib repo have changed

No, but the same problem is present in non-copied-over contrib scripts, for which I will file a separate PR.

  • Yes. - Link to PR:
  • No.

@johnbley johnbley requested a review from a team March 13, 2024 14:26
@pmcollins pmcollins added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Mar 13, 2024
Copy link
Copy Markdown
Member

@pmcollins pmcollins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. mypy checks are failing but looks like that's being handled separately.

@lzchen lzchen enabled auto-merge (squash) March 14, 2024 17:25
@lzchen lzchen merged commit 0d429d1 into open-telemetry:main Mar 14, 2024
@johnbley johnbley deleted the shell_set_dashe branch March 14, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants