0.9.28
Release Notes
BREAKING : step-info
command revision:
We added local and git step support to this command and also updated its log, to provide all neccessary infos about every type of the supported steps.
You can specify the step's source with the new --library
flag. As a value you can provide:
STEPLI_URI
- the git uri of the step librarypath
- specifies local stepgit
- if you want to use a step from its git source
With --id
flag, you can specify the unique identifier of the step in its collection:
- in case of step library step: the unique identifier in the library
- in case of local step: the local path of the step directory
- in case of git step: the git uri of the step reporitory
--version
flag:
- in case of steplib step: the step version in the steplib
- in case of local step: not used
- in case of git step: git tag or branch
You can define the output format of the command by passing --format FORMAT
flag.
Format can be either raw
(default):
$ stepman step-info --library https://github.com/bitrise-io/bitrise-steplib.git --id script --version 1.1.1 --format raw
Library: https://github.com/bitrise-io/bitrise-steplib.git
ID: script
Version: 1.1.1
LatestVersion: 1.1.3
Definition:
[step.yml content]
or json
to use the command's output by other tools:
$ stepman step-info --library https://github.com/bitrise-io/bitrise-steplib.git --id script --version 1.1.1 --format json
{
"library":"https://github.com/bitrise-io/bitrise-steplib.git",
"id":"script",
"version":"1.1.1",
"latest_version":"1.1.3",
"info":{
},
"step":{
[serialized step model]
},
"definition_pth":"$HOME/.stepman/step_collections/1487001505/collection/steps/script/1.1.1/step.yml"
}
Examples:
Get info about a step from the step library:
stepman step-info --library https://github.com/bitrise-io/bitrise-steplib.git --id script --version 1.1.1
Get info about a local step:
stepman step-info --library path --id /PATH/TO/THE/STEP/DIRECTORY
Get step info about a step, defined by its git repository uri:
stepman step-info --library git --id https://github.com/bitrise-io/steps-script.git --version master
Command flag changes:
--collection
is deprecated, use--library
instead--short
is deprecated and no longer used--step-yml
is deprecated, use--library path
and--id PATH_TO_YOUR_STEP_DIR
instead
Install or upgrade
To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/stepman/releases/download/0.9.28/stepman-$(uname -s)-$(uname -m) > /usr/local/bin/stepman
Then:
chmod +x /usr/local/bin/stepman
That's all, you're ready to call stepman
!