diff --git a/bitrise.yml b/bitrise.yml index 4bc0dcf..ea10e73 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -31,6 +31,15 @@ workflows: # ---------------------------------------------------------------- # --- workflows to Share this step into a Step Library + audit-this-step: + steps: + - script: + inputs: + - content: |- + #!/bin/bash + set -ex + stepman audit --step-yml ./step.yml + share-this-step: envs: # if you want to share this step into a StepLib @@ -59,16 +68,14 @@ workflows: Once it finishes the only thing left is to actually create a Pull Request, the way described in the guide printed at the end of the process. + before_run: + - audit-this-step steps: - script: inputs: - content: |- #!/bin/bash - set -e - set -x - + set -ex bitrise share start -c ${MY_STEPLIB_REPO_FORK_GIT_URL} - bitrise share create --stepid ${STEP_ID_IN_STEPLIB} --tag ${STEP_GIT_VERION_TAG_TO_SHARE} --git ${STEP_GIT_CLONE_URL} - bitrise share finish