Steve Lawrence created DAFFODIL-3055:
----------------------------------------
Summary: Update release-candidate actionto use getExecOutput
instead of exec
Key: DAFFODIL-3055
URL: https://issues.apache.org/jira/browse/DAFFODIL-3055
Project: Daffodil
Issue Type: Bug
Components: Infrastructure
Reporter: Steve Lawrence
Assignee: Steve Lawrence
Fix For: 4.1.0
When we need to capture the stdout of a command in the release-candidate github
action, we currently call exec with a custom stdout handler which copies stdout
to a mutable variable. But github exec module already provides a getExecOutput
function that does the exact same thing and returns stdout (and stderr and exit
code) in an object. We should just use that to simplify our code and remove a
number of mutable variables.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)