gruntwork-io / gruntwork-io/fetch

Prevent silent fail

Open
#104 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
624
Forks
92
PR merge metrics
No merged PRs in 30d

Description

Hi!,

We are using this command in our CI/CD pipeline:

```
fetch --repo="https://github.com/..." --tag="1.0.9" --github-oauth-token="****" --release-asset="example-v1.0.9.zip" tmp-path
```

Yesterday this command fails because of a GitHub authorization error, however, it only logs the error instead of exiting with non-zero code this causes the pipeline to continue then exist on another step that depends on what has been downloaded by `fetch`.

Please we need an option to exit on error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.