Monthly release of Bitrise CLI tools and summary of updates (July, 2017) - CLI v1.7.0

bitrise-tools
bitrise-cli
announcements
#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 a 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.7.0)

empty workflow id validation

From now on bitrise-cli will fail if the bitrise configuration (bitrise.yml) contains workflow with empty workflow id.

format_version: "3"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

workflows:
  "":
    steps:
    - script:

git step’s default branch is master

If you use a step from its git source without specifying the branch to use:

format_version: "3"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

workflows:
  primary:
    steps:
    - git::https://github.com/bitrise-io/steps-script.git:

bitrise will activate and use the step repo’s master branch.

support for cross-device file moving

In previous cli versions, if a user home directory was on different device from the os temporary directory, you received the following error message during the bitrise setup process: invalid cross-device link. This version uses a cross-device compatible file moving function.

progress indicator

bitrise plugin install and update commands take some time to finish as bitrise-cli git clones the plugin source repository and then downloads and installs the plugin’s compiled binary. We added a loading indicator to these commands.

Checking Bitrise Plugins...
Default plugin (analytics) NOT found, installing...
git clone plugin source ⣯
Downloading plugin binary ⡿

dependency updates:

  • min envman version: 1.1.5
  • min stepman version: 0.9.32
  • default init plugin version: 0.9.6
  • default step plugin version: 0.9.4
  • default workflow-editor plugin version: 1.0.11

New version of Stepman (0.9.32)

  • from now on git step’s default branch is set to master, instead of the repository’s default branch.

This means that if you use a step from its git source and do not specify the repo’s branch to use:

workflows:
  primary:
    steps:
    - git::https://github.com/bitrise-community/steps-ionic-archive.git: 

the master branch will be cloned.

  • dependency updates

New version of Envman (1.1.5)

  • dependency updates

New steps

  • vpnc-connect 1.0.0
  • change-android-versioncode-and-versionname 0.9.0
  • build-number-adjust 1.0.0
  • jasmine-runner 0.9.0
  • generate-gradle-wrapper 0.9.2
  • authenticate-host-with-netrc 0.9.0
  • authenticate-with-bitbucket-oauth 0.9.0
  • install-dotnetcore 1.0.0
  • authenticate-with-github-oauth 0.9.0

Step updates

  • cakebuild 1.0.3:
    • added some environment variables to skip a long process when first building a .net core project
    • adding extra opensll commands
  • slack 2.5.0:
    • quickfix: the title of the image_url_on_error input changed from Image URL to Image URL - if build failed
    • auto converting \ + n character sequences to the \n newline escape sequence in the Message inputs, to ensure that \n always means “newline” in the Slack message (instead of printing \n in the message when the character sequence is \ + n instead of the ASCII 10 character represented by the \n escape character)
    • embedded image / GIF support
  • xcode-archive-mac 1.4.1:
    • export idedistribution logs for debugging if xcodebuild command fails
    • input categories
    • use go-steputils package
  • aws-device-farm-file-deploy 0.0.4:
  • create-android-emulator 1.1.5:
    • updated godeps
    • create avd command error output fix
    • use go-steputils/tools
    • legacy create avd command missing --tag flag fix
    • updated system image check
    • added ability to change ABI
  • certificate-and-profile-installer 1.8.6:
    • input grouping and reordering
    • added feature to show part of the devices udid
  • cocoapods-install 1.7.1:
    • updated project_type_tags
  • xcode-archive 2.0.6:
    • input grouping and reordering
    • updated .xcarchive handling
  • set-ios-info-plist-unified 1.1.6:
  • script 1.1.4:
    • input grouping and reordering
  • deploy-to-bitrise-io 1.3.6:
    • expand deploy_path
    • fixed unzip command
    • input grouping and reordering
    • warn if public install is not allowed
    • go toolkit & review
    • better error message if ANDROID_HOME not set
    • godeps update
    • print better error if apk analyse failed
  • carthage 3.1.2:
    • updated project_type_tags
  • gradle-unit-test 1.0.2:
    • gradle build file made optional
  • sonarqube-scanner 1.0.1:
  • recreate-user-schemes 1.0.1:
    • use go-toolkit
    • use go-xcode & go-steputil packages
    • fixed index out of range error
  • start-android-emulator 1.3.1:
    • godeps-update
    • fixed emulator start on Google APIs level 25 system image
    • fixed emulator binary path
    • use emulator64-arm by default, fallback: emulator
    • fixed qt lib environment path
  • hockeyapp-deploy 2.4.2:
    • project_type_tags & type_tags fix
  • gradle-runner 1.7.1:
    • updated type_tags
    • updated cache ignore paths
    • new output: BITRISE_APK_PATH_LIST - List of the generated APK paths
    • added ~/.m2 dir to cache include files
    • input grouping and reordering
    • godeps-update, added cacheLevel input
    • added built-in cache collection
    • changed cache search path depth
  • set-ios-product-bundle-identifier 1.1.2:
  • deploy-to-itunesconnect-deliver 2.9.4:
    • type tag updates
    • added new input: platform
  • xamarin-android-test 1.1.0:
    • msbuild build tool support
    • new input: build_tool - Specify built tool to use
    • input grouping and reordering
  • resign-ipa 1.2.2:
    • deprecated
  • cordova-archive 0.9.2:
    • output fixes
    • new input: cordova_version - The version of cordova you want to use
  • generate-cordova-build-configuration 0.9.3:
    • fixed missing default value package_type input
    • step definition (step.yml) updates
      First release
  • project-scanner 1.4.2:
    • step version updates
    • add certificate installer step to cordova and ionic workflows
    • bitrise-init update to v1.2.0
    • step version updates
    • step.yml & readme.md updates
    • step version updates
    • readme update
    • separated android workflows
    • android local.properties warning fix, xcode cocoapods do not fail if analyze failed, utility cleanup
    • error if Android local.properties is committed into the repo - completed
    • added cache step to all xcode workflows
    • added Cache:Pull and Cache:Push steps for the android scanner
    • tmp switch back to format version 2, to support rollbacked xamarin stable stack
    • ionic scanner
    • cordova default target fix
  • nunit-runner 1.3.0:
    • msbuild build tool support
    • new input: build_tool - Specify built tool to use
    • input grouping and reordering
  • cache-pull 1.0.0:
    • added compressed and uncompressed tar handling
    • type_tags correction
    • revised log when cache not found
  • git-clone 3.5.0:
    • NEW INPUT: update_submodules - Update the registered submodules?
    • failed attempts count base changed to 1
    • do not fail if no changes in PR
    • input grouping and reordering
  • xamarin-test-cloud-for-android 2.2.0:
    • msbuild build tool support
    • new input: build_tool - Specify built tool to use
    • input grouping and reordering
  • git-commit-changelog 1.0.3:
  • cache-push 1.1.3:
    • removed default input from cache_paths - and it is not required
    • added cache paths filtering
    • added option to skip archiving cache files using ! prefix
    • steplib_id fix
    • added compression input
    • added BITRISE_CACHE_… env handling
    • type_tags correction
  • xamarin-test-cloud-for-ios 2.3.0:
    • msbuild build tool support
    • new input: build_tool - Specify built tool to use
    • input grouping and reordering
  • xamarin-user-management 1.1.0:
    • updated type_tags
    • printing error message
    • added is_skippable
  • xamarin-archive 1.4.2:
    • msbuild build tool support
    • new input: build_tool - Specify built tool to use
    • deprecate force_mdtool input - Use build_tool to specify the build tool to use
    • input grouping and reordering
    • godeps-update
    • revised export method
  • xcode-test 1.18.5:
    • xcode test log update
    • updated project_type_tags
    • input grouping and reordering
    • added new retry pattern
  • xamarin-ios-test 2.3.1:
    • msbuild build tool support
    • new input: build_tool - Specify built tool to use
    • input grouping and reordering
  • aws-device-farm-runner 0.0.5:
  • sign-apk 1.2.0:
    • gitignore fix
    • Print more error on fail
    • Added possibility to sign multiple APK files
  • change-value 1.1.0:
  • post-jira-comment-with-build-details 0.1.12:
  • google-play-deploy 1.2.3:
    • fixed key_path input types
    • log fixes
    • test updates
    • print track infos
  • android-sdk-update 1.0.4:
  • karma-jasmine-runner 0.9.1:
    • typo fix & release configs
  • codified-security-bitrise 2.0.0:
  • install-missing-android-tools 1.0.3:
    • input grouping and reordering
    • typofixes in console messages
  • nuget-restore 1.0.4:
    • added latest as default nuget version, #18
  • apk-info 1.2.3:
  • ionic-archive 0.9.3:
    • new input: cordova_version - The version of cordova you want to use.
    • new input: ionic_version - The version of ionic you want to use.
    • unlock cordova_version and ionic_version inputs
    • ionic command fix
  • wait-for-android-emulator 1.0.2:
    • fix for timeout being prolonged
1 Like

Weekly Virtual Machine / Stack updates - 2017.07.15
#2

Thanks @koral for this! :wink: :heart:

0 Likes