<commit_before>format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

app:
  envs:
  # define these in your .bitrise.secrets.yml
  - BITRISE_PROJECT_PATH: sample-apps-osx-10-11.xcodeproj
  - BITRISE_SCHEME: sample-apps-osx-10-11
  - SAMPLE_APP_REPOSITORY_URL: https://github.com/bitrise-samples/sample-apps-osx-10-11.git
  - SAMPLE_APP_CLONE_INTO_DIR: "./_tmp/sample-apps-osx-10-11"
  # for force-code-sign mode also set these
  - BITRISE_PROVISIONING_PROFILE_ID:
  - BITRISE_CODE_SIGN_IDENTITY:

workflows:
  # ----------------------------------------------------------------
  # --- workflow to Step Test
  test:
    steps:
    - script:
        title: Step audit
        inputs:
        - content: stepman audit --step-yml=./step.yml
    - change-workdir:
        title: Switch working dir to test/_tmp dir
        description: |-
          To prevent step testing issues, like referencing relative
          files with just './some-file', which would work for local tests
          but not if the step is included in another bitrise.yml!
        run_if: true
        inputs:
        - path: ./_tmp
        - is_create_path: true
    - script:
        title: Git clone sample app
        inputs:
        - content: |
            #!/bin/bash
            set -e
            set -x

            if [ -e $SAMPLE_APP_CLONE_INTO_DIR ] ; then
              rm -rf $SAMPLE_APP_CLONE_INTO_DIR
            fi

            git clone $SAMPLE_APP_REPOSITORY_URL $SAMPLE_APP_CLONE_INTO_DIR
    - change-workdir:
        title: Switch working dir
        run_if: true
        inputs:
        - path: $SAMPLE_APP_CLONE_INTO_DIR
    - path::./:
        inputs:
        - is_clean_build: "yes"
        - output_tool: xcpretty
        - export_method: none
        # - export_method: "development"
        # - output_tool: xcodebuild
        # - configuration: Debug
    - script:
        title: Output (generated by the Step) tests
        inputs:
        - content: |-
            echo "-> BITRISE_EXPORTED_FILE_PATH: ${BITRISE_EXPORTED_FILE_PATH}"
            echo "-> BITRISE_DSYM_PATH: ${BITRISE_DSYM_PATH}"

  # ----------------------------------------------------------------
  # --- workflows to create Release
  create-release:
    steps:
    - script:
        title:
        inputs:
        - content: |
            #!/bin/bash
            set -e

            export CI=true
            releaseman create --bump-version patch

  create-release-version:
    envs:
    - RELEASE_VERSION: 1.1.5
    steps:
    - script:
        title:
        inputs:
        - content: |
            #!/bin/bash
            set -e

            export CI=true
            releaseman create --version $RELEASE_VERSION

  # ----------------------------------------------------------------
  # --- workflow 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-archive-mac
      - STEP_GIT_VERION_TAG_TO_SHARE: 1.1.5
      - STEP_GIT_CLONE_URL: https://github.com/bitrise-steplib/steps-xcode-archive-mac.git
    description: |-
      If this is the first time you try to share a Step you should
      first call: $ bitrise share

      This will print you a guide, and information about how Step sharing
      works. Please read it at least once!

      As noted in the Step sharing guide you'll have to fork the<commit_msg>prepare for 1.1.6<commit_after>format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

app:
  envs:
  # define these in your .bitrise.secrets.yml
  - BITRISE_PROJECT_PATH: sample-apps-osx-10-11.xcodeproj
  - BITRISE_SCHEME: sample-apps-osx-10-11
  - SAMPLE_APP_REPOSITORY_URL: https://github.com/bitrise-samples/sample-apps-osx-10-11.git
  - SAMPLE_APP_CLONE_INTO_DIR: "./_tmp/sample-apps-osx-10-11"
  # for force-code-sign mode also set these
  - BITRISE_PROVISIONING_PROFILE_ID:
  - BITRISE_CODE_SIGN_IDENTITY:

workflows:
  # ----------------------------------------------------------------
  # --- workflow to Step Test
  test:
    steps:
    - script:
        title: Step audit
        inputs:
        - content: stepman audit --step-yml=./step.yml
    - change-workdir:
        title: Switch working dir to test/_tmp dir
        description: |-
          To prevent step testing issues, like referencing relative
          files with just './some-file', which would work for local tests
          but not if the step is included in another bitrise.yml!
        run_if: true
        inputs:
        - path: ./_tmp
        - is_create_path: true
    - script:
        title: Git clone sample app
        inputs:
        - content: |
            #!/bin/bash
            set -e
            set -x

            if [ -e $SAMPLE_APP_CLONE_INTO_DIR ] ; then
              rm -rf $SAMPLE_APP_CLONE_INTO_DIR
            fi

            git clone $SAMPLE_APP_REPOSITORY_URL $SAMPLE_APP_CLONE_INTO_DIR
    - change-workdir:
        title: Switch working dir
        run_if: true
        inputs:
        - path: $SAMPLE_APP_CLONE_INTO_DIR
    - path::./:
        inputs:
        - is_clean_build: "yes"
        - output_tool: xcpretty
        - export_method: none
        # - export_method: "development"
        # - output_tool: xcodebuild
        # - configuration: Debug
    - script:
        title: Output (generated by the Step) tests
        inputs:
        - content: |-
            echo "-> BITRISE_EXPORTED_FILE_PATH: ${BITRISE_EXPORTED_FILE_PATH}"
            echo "-> BITRISE_DSYM_PATH: ${BITRISE_DSYM_PATH}"

  # ----------------------------------------------------------------
  # --- workflows to create Release
  create-release:
    steps:
    - script:
        title:
        inputs:
        - content: |
            #!/bin/bash
            set -e

            export CI=true
            releaseman create --bump-version patch

  create-release-version:
    envs:
    - RELEASE_VERSION: 1.1.6
    steps:
    - script:
        title:
        inputs:
        - content: |
            #!/bin/bash
            set -e

            export CI=true
            releaseman create --version $RELEASE_VERSION

  # ----------------------------------------------------------------
  # --- workflow 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-archive-mac
      - STEP_GIT_VERION_TAG_TO_SHARE: 1.1.6
      - STEP_GIT_CLONE_URL: https://github.com/bitrise-steplib/steps-xcode-archive-mac.git
    description: |-
      If this is the first time you try to share a Step you should
      first call: $ bitrise share

      This will print you a guide, and information about how Step sharing
      works. Please read it at least once!

      As noted in the Step sharing guide you'll have to fork the
{'fraction_non_alphanumeric': 0.13703703703703704, 'fraction_numerical': 0.00754985754985755, 'mean_word_length': 1.6384817737692596, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1485386', 'n_tokens_mistral': 2250, 'n_tokens_neox': 2164, 'n_words': 537}