diff --git a/bitrise.yml b/bitrise.yml index ccca453..704d556 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -1,8 +1,9 @@ -format_version: 1.1.0 +format_version: 1.3.1 default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git app: envs: + - STEP_VERSION: 1.6.1 # define these in your .bitrise.secrets.yml - BITRISE_PROJECT_PATH: $BITRISE_PROJECT_PATH - BITRISE_SCHEME: $BITRISE_SCHEME @@ -51,30 +52,25 @@ workflows: set -e export CI=true - releaseman create --bump-version patch + releaseman create --version $STEP_VERSION - create-release-version: - envs: - - RELEASE_VERSION: 1.6.0 + # ---------------------------------------------------------------- + # --- workflow to Share this step into a Step Library + audit-this-step: steps: - script: - title: inputs: - - content: | + - content: |- #!/bin/bash - set -e + set -ex + stepman audit --step-yml ./step.yml - export CI=true - releaseman create --version $RELEASE_VERSION - - # ---------------------------------------------------------------- - # --- workflows to Share this step into a Step Library share-this-step: envs: # if you want to share this step into a StepLib - MY_STEPLIB_REPO_FORK_GIT_URL: $MY_STEPLIB_REPO_FORK_GIT_URL - STEP_ID_IN_STEPLIB: xcode-analyze - - STEP_GIT_VERION_TAG_TO_SHARE: 1.6.0 + - STEP_GIT_VERION_TAG_TO_SHARE: $STEP_VERSION - STEP_GIT_CLONE_URL: https://github.com/bitrise-io/steps-xcode-analyze.git description: |- If this is the first time you try to share a Step you should @@ -97,17 +93,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: - - ensure-clean-git: - 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