Monthly release of Bitrise CLI tools and summary of updates (Marc, 2017)

bitrise-tools
announcements
bitrise-cli
#1

We ship a new bitrise cli version on the second Tuesday of every month.
The new release will be available on the bitrise.io
virtual machines on the weekend after the CLI release,
unless we discover any serious bug / regression.

Read on to learn more about this month’s Bitrise CLI release and about the changes around bitrise tools and steps.


New version of Bitrise CLI (1.5.5)

  • Silent setup: bitrise will do a setup (if was not performed for the current version) before any plugin run.

  • From now the bitrise --help command output will include PLUGINS help section as well:

NAME: bitrise - Bitrise Automations Workflow Runner

USAGE: bitrise [OPTIONS] COMMAND/PLUGIN [arg...]

VERSION: 1.5.5

GLOBAL OPTIONS:
  --loglevel value, -l value  Log level (options: debug, info, warn, error, fatal, panic). [$LOGLEVEL]
  --debug                     If true it enabled DEBUG mode. If no separate Log Level is specified this will also set the loglevel to debug. [$DEBUG]
  --ci                        If true it indicates that we're used by another tool so don't require any user input! [$CI]
  --pr                        If true bitrise runs in pull request mode.
  --help, -h                  show help
  --version, -v               print the version

COMMANDS:
  init           Init bitrise config.
  setup          Setup the current host. Install every required tool to run Workflows.
  version        Prints the version
  validate       Validates a specified bitrise config.
  run            Runs a specified Workflow.
  trigger-check  Prints out which workflow will triggered by specified pattern.
  trigger        Triggers a specified Workflow.
  export         Export the bitrise configuration.
  normalize      Normalize the bitrise configuration.
  step-list      List of available steps.
  step-info      Provides information (step ID, last version, given version) about specified step.
  workflows      List of available workflows in config.
  share          Publish your step.
  plugin         Plugin handling.
  stepman        Runs a stepman command.
  envman         Runs an envman command.
  help           Shows a list of commands or help for one command

PLUGINS:
  :analytics        Submitting anonymized usage information.
  :init             Initialize bitrise __config (bitrise.yml)__ and __secrets (.bitrise.secrets.yml)__ based on your project.
  :workflow-editor  Bitrise Workflow Editor.

COMMAND HELP: bitrise COMMAND --help/-h
  • bitrise validate command fixes:

    • minimal bitrise.yml should contain a format_version property
    • no bitrise.yml found error message fix
  • Dependency updates:

    • minimum go version updated from 1.7.4 to 1.8
    • minimum stepman version: 0.9.29
    • default workflow-editor version: 0.9.6

New version of Stepman (0.9.29)

  • Every git command bundled in retry block, to avoid github networking issues
  • Log improvements, for better error messages and logs

New steps

  • wait-for-android-emulator 0.9.0

Step updates

  • Generate text file 0.0.3:
    • Removing a few irrelevant tags from step.yml
    • Output written file and path
    • Fix issue using eval by wrapping echoed string in quotation marks
  • start-android-emulator 1.1.1:
    • Added wait_for_boot option
  • hipchat-v2 0.9.1:
    • Add support for notifying rooms
  • Yarn 0.0.4:
  • hipchat 3.0.4:
    • Add support for notifying rooms
  • xamarin-android-test 1.0.0:
    • use shared go-xamarin packages
    • go-toolkit support
  • fastlane 2.3.7:
    • Write fastlane env output to deploy dir
    • Moving fastlane logs to deploy dir
  • deploy-to-bitrise-io 1.2.9:
    • Validate given e-mails format
    • Fixed .ipa and .apk file determination
  • calabash-android-uitest 1.2.0:
    • NEW INPUT: additional_options - Additional options for calabash-android run call
    • Added enhanced error log printing
  • project-scanner 1.1.2:
    • write scan result to file even if scanner fails, or do not finds any known platform, to allow bitrise.io website to print proper error message in case of failed add new app
    • use cocoapods-core gem version, which matches the one specified in Podfile.lock, to analyse Podfile & determine xcode project-workspace mapping, to avoid errors like: Pod:: DSLError
  • xcode-test-mac 1.1.0:
    • Switch to golang
  • xamarin-ios-test 2.2.0:
    • applying ipa path search fix
  • xamarin-test-cloud-for-ios 2.2.0:
    • applying ipa path search fix
  • xamarin-test-cloud-for-android 2.1.1:
    • godeps-update
  • certificate-and-profile-installer 1.8.4:
    • Print keychain errors on fail
    • mac developer id cert install fix
    • godeps update
  • git-clone 3.4.2:
    • Retry checkout on fail with feching tags
  • calabash-ios-uitest 1.3.1:
    • Added enhanced error log printing
  • calabash-android-uitest 1.2.1:
    • Added enhanced error log printing
  • carthage 3.0.6:
    • Versions above 0.20.0 uses built-in cache
  • xcode-archive-mac 1.4.0:
    • DEPRECATED INPUT: export_options_path - Use custom_export_options_plist_content instead
    • NEW INPUT: custom_export_options_plist_content - Custom export options plist content
    • NEW INPUT: artifact_name - Specify the generated artifact name
    • NEW INPUT: force_provisioning_profile_specifier - Force code signing with Provisioning Profile Specifier
    • go-toolkit suppor
  • npm 0.9.0:
    • logging updates
    • REMOVED INPUT: args
      This input were removed, since it was not correctly handled in the step’s source code and args can be provided in command input, there is no need for this input.
  • react-native-bundle 1.0.3:
    • Create output dir

Deprecated Steps:

  • cocoapods-and-repository-validator
  • xamarin-builder
  • git-clone-extended
  • select-xcode-version
1 Like

Weekly Virtual Machine / Stack updates - 2017.03.18