Skip to content

Commit

Permalink
bitrise v2 update
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorbenei committed Sep 10, 2015
1 parent 8edf523 commit c4e8191
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 50 deletions.
Empty file modified LICENSE
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
19 changes: 11 additions & 8 deletions bitrise.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
format_version: 0.9.5
default_step_lib_source: https://bitbucket.org/bitrise-team/bitrise-new-steps-spec

app:
envs:
# define these in your .bitrise.secrets.yml
- fastlane_action:
- work_dir:
format_version: 1.0.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

workflows:
test:
steps:
- [email protected]:
run_if: true
inputs:
- repository_url: https://github.com/bitrise-io/fastlane-example.git
- branch: master
- clone_into_dir: ./_tmp
- path::./:
inputs:
- lane: test
- work_dir: ./_tmp
8 changes: 4 additions & 4 deletions step.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

# Required parameters
if [ -z "${fastlane_action}" ] ; then
echo "Missing required input: fastlane_action"
if [ -z "${lane}" ] ; then
echo "Missing required input: lane"
exit 1
fi
export lane_name="${fastlane_action}"
export lane_name="${lane}"

if [ -z "${work_dir}" ] ; then
echo "Missing required input: work_dir"
Expand All @@ -22,4 +22,4 @@ echo "cd \"${work_dir}\""
cd "${work_dir}"

echo "set -eu -o pipefail && fastlane ${lane_name}"
fastlane ${lane_name}
fastlane ${lane_name}
8 changes: 4 additions & 4 deletions step.yml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ is_skippable: false
dependencies: []
run_if: ""
inputs:
- fastlane_action:
- lane:
opts:
title: "Fastlane action"
title: "Fastlane lane"
summary: ""
description: |
Fastlane action to run
$ fastlane [your_action]
$ fastlane [lane]
is_required: true
is_expand: true
is_dont_change_value: false
- work_dir:
- work_dir: $BITRISE_SOURCE_DIR
opts:
title: "Work directory"
summary: ""
Expand Down
34 changes: 0 additions & 34 deletions step.yml.old

This file was deleted.

0 comments on commit c4e8191

Please sign in to comment.