Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// ErrNothingToCommit is a specific error that should not stop the global process of drivers update
ErrNothingToCommit = errors.NewKind(errSpecialText)
)
Functions ¶
func ExecCmd ¶
ExecCmd executes the specified Bash script. If execution fails, the error contains the combined output from stdout and stderr of the script. Do not use this for scripts that produce a large volume of output.
func PrepareBranch ¶
func PrepareBranch(d discovery.Driver, githubToken string, o *UpdateOptions) error
PrepareBranch does the next steps: 1) clones driver's master branch 2) creates new branch 3) executes custom script if it's not empty 4) updates SDK version if it's not empty 5) commits and pushes changes to the previously created branch
Types ¶
Click to show internal directories.
Click to hide internal directories.