Skip to content

fix: Fail early on steps and return error code#891

Merged
spydon merged 11 commits intomainfrom
fix/fail-early-on-steps
Apr 9, 2025
Merged

fix: Fail early on steps and return error code#891
spydon merged 11 commits intomainfrom
fix/fail-early-on-steps

Conversation

@spydon
Copy link
Collaborator

@spydon spydon commented Apr 8, 2025

Description

This PR makes the steps fail as soon as one command fails.
Return error code 1 on failure (so not the actual error code).

Closes: #760

Type of Change

  • feat -- New feature (non-breaking change which adds functionality)
  • 🛠️ fix -- Bug fix (non-breaking change which fixes an issue)
  • ! -- Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 refactor -- Code refactor
  • ci -- Build configuration change
  • 📝 docs -- Documentation
  • 🗑️ chore -- Chore

@docs-page
Copy link

docs-page bot commented Apr 8, 2025

To view this pull requests documentation preview, visit the following URL:

docs.page/invertase/melos~891

Documentation is deployed and generated using docs.page.

@spydon spydon merged commit 7161ce8 into main Apr 9, 2025
10 checks passed
@spydon spydon deleted the fix/fail-early-on-steps branch April 9, 2025 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Exit code not properly returned when using steps

1 participant