Skip to content

Commit

Permalink
add params.branch to in for use in an "across" step
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Houliston <[email protected]>
  • Loading branch information
Houlistonm committed Jan 18, 2023
1 parent 2745592 commit c1d60e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ configure_git_ssl_verification "$payload"
configure_credentials "$payload"

uri=$(jq -r '.source.uri // ""' <<< "$payload")
branch=$(jq -r '.source.branch // ""' <<< "$payload")
branch=$(jq -r '.params.branch // .source.branch // ""' <<< "$payload")
git_config_payload=$(jq -r '.source.git_config // []' <<< "$payload")
ref=$(jq -r '.version.ref // "HEAD"' <<< "$payload")
override_branch=$(jq -r '.version.branch // ""' <<< "$payload")
Expand Down

0 comments on commit c1d60e8

Please sign in to comment.