Skip to content

Commit

Permalink
bitrise.yml update & minimal log revision
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorbenei committed Dec 12, 2015
1 parent 4e2b942 commit 74bfe38
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
15 changes: 12 additions & 3 deletions bitrise.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
format_version: 1.0.0
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

app:
Expand Down Expand Up @@ -32,6 +32,15 @@ workflows:
inputs:
- path: ./_tmp
- is_create_path: true
- script:
title: Generate a test Gemfile, with specific Fastlane version
inputs:
- content: |-
#!/bin/bash
cat >$WORK_DIR/Gemfile <<EOL
source 'https://rubygems.org'
gem 'fastlane', '~> 1.39.0'
EOL
- path::./:
inputs:
- lane: $LANE
Expand All @@ -43,9 +52,9 @@ workflows:
share-this-step:
envs:
# if you want to share this step into a StepLib
- MY_STEPLIB_REPO_FORK_GIT_URL:
- MY_STEPLIB_REPO_FORK_GIT_URL: $MY_STEPLIB_REPO_FORK_GIT_URL
- STEP_ID_IN_STEPLIB: fastlane
- STEP_GIT_VERION_TAG_TO_SHARE: 2.1.0
- STEP_GIT_VERION_TAG_TO_SHARE: 2.1.1
- STEP_GIT_CLONE_URL: https://github.com/bitrise-io/steps-fastlane.git
description: |-
If this is the first time you try to share a Step you should
Expand Down
3 changes: 2 additions & 1 deletion step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ cmd_prefix=""
# Install fastlane
if [ -f './Gemfile' ] ; then
echo
echo "Found 'Gemfile' - using it..."
echo " (i) Found 'Gemfile' - using it..."
echo '$' bundle install
bundle install

cmd_prefix="bundle exec"
else
echo " (i) No Gemfile found - using system installed fastlane ..."
echo " (i) Updating system installed fastlane ..."
echo '$' gem install fastlane --no-document
gem install fastlane --no-document
fi
Expand Down

0 comments on commit 74bfe38

Please sign in to comment.