2.0.0
Changes
Breaking changes
The --loglevel
command line parameter has been removed from the cli. Use the --debug
flag to enable the debugs logs if necessary.
Structured logging
WARNINIG: This is an experimental feature
The run
received a new command line option which can enable the new json logging format. Simply supply the --output-format json
parameter to the run
command to enable it. The cli still uses the human readable format by default.
Smaller improvements
This is a list of the other small improvements to help debuggability:
- The cli now logs any error related to step preparation. Previously these did not show up in the build logs.
- The summary section at the end of a workflow run now has the ID of which workflow it belongs to.
- The cli was always using
master
as the default branch value if none was supplied in thegit::
special source step definition. This is removed and it uses the value defined in the repository.
Changelog
- 982943c Add version as input to Bitrise CLI header (#827)
- b13df09 Build started event (#822)
- 69d337d Don't specify
master
if no git branch is provided (#796) - e4ef36e Envman functions (#819)
- 5554029 Print step preparation errors (#816)
- 8bfaecb Print workflow ID in summary title (#821)
- 55ac240 Remove leftover log level handlings (#824)
- ea4a8c2 Remove target_workflow_id from workflow run plan (#823)
- a05b4e0 Stepman functions (#820)
- 92bff8c Structured logging (#818)
- ed59c73 Update tool versions (#828)
- c4945d2 [CI-217] Step started event (#825)
- e3eeee0 [CI-218] Step finished event (#826)
Install or upgrade
To install this version, run the following command (in a bash shell):
curl -fL https://github.com/bitrise-io/bitrise/releases/download/2.0.0/bitrise-"$(uname -s)"-"$(uname -m)" > /usr/local/bin/bitrise
ℹ️ M1 machine: Please note by default /usr/local/bin
does not exist on M1 machines and isn't encouraged by the community over /opt/bin
. Use a custom folder path or use your own bin
folder path. i.e /opt/bin
Then:
chmod +x /usr/local/bin/bitrise
That's all, you're ready to call bitrise
!