Step source env var and update command in CLI

If you use our CLI, you need to know about these two new features rolled out in this month's update.

If you use our CLI, you need to know about these two cool new features rolled out in this month's update. (Check out all the details here.)

New Bitrise CLI command: update

Whether you’ve installed it from brew or from the GitHub release, you’ll be able to call “bitrise update” now, and it will update the CLI to the latest version. If you have installed the CLI from the GitHub release, then you can select the version you want to update/or downgrade to. The CLI will check once every day and notify you as soon as there is a new version out there!

New environment variable exported by the CLI automatically: BITRISE_STEP_SOURCE_DIR

If you need to keep a binary, assets or anything else required for your step that need(s) to be bundled in the step repo, then you can include it beside your step.yml and step code, as now you will be able to access those files using BITRISE_STEP_SOURCE_DIR.

For example: $BITRISE_STEP_SOURCE_DIR/mytool.jar

Happy building!

No items found.
The Mobile DevOps Newsletter

Explore more topics

App Development

Learn how to optimize your mobile app deployment processes for iOS, Android, Flutter, ReactNative, and more

Bitrise & Community

Check out the latest from Bitrise and the community. Learn about the upcoming mobile events, employee spotlights, women in tech, and more

Mobile App Releases

Learn how to release faster, better apps on the App Store, Google Play Store, Huawei AppGallery, and other app stores

Mobile DevOps

Learn Mobile DevOps best practices such as DevOps for iOS, Android, and industry-specific DevOps tips for mobile engineers

Mobile Testing & Security

Learn how to optimize mobile testing and security — from automated security checks to robust mobile testing and more.

Product Updates

Check out the latest product updates from Bitrise — Build Insights updates, product news, and more.

The Mobile DevOps Newsletter

Join 1000s of your peers. Sign up to receive Mobile DevOps tips, news, and best practice guides once every two weeks.