Skip to content

Commit

Permalink
step.yml update, added project type ios
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorbenei committed Dec 11, 2015
1 parent c265da7 commit 65da3dc
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 5 deletions.
45 changes: 45 additions & 0 deletions bitrise.yml
Expand Up @@ -14,3 +14,48 @@ workflows:
steps:
- path::./:
inputs:


# ----------------------------------------------------------------
# --- workflows to Share this step into a Step Library
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
- STEP_ID_IN_STEPLIB: deploy-to-itunesconnect-shenzhen
- STEP_GIT_VERION_TAG_TO_SHARE: 2.1.1
- STEP_GIT_CLONE_URL: https://github.com/bitrise-io/steps-deploy-to-itunesconnect-shenzhen.git
description: |-
If this is the first time you try to share a Step you should
first call: $ bitrise share
This will print you a guide, and information about how Step sharing
works. Please read it at least once!
As noted in the Step sharing guide you'll have to fork the
StepLib you want to share this step into. Once you're done with forking
the repository you should set your own fork's git clone URL
in the `.bitrise.secrets.yml` file, or here in the `envs` section,
as the value of the `MY_STEPLIB_REPO_FORK_GIT_URL` environment.
You're now ready to share this Step, just make sure that
the `STEP_ID_IN_STEPLIB` and `STEP_GIT_VERION_TAG_TO_SHARE`
environments are set to the desired values!
To share this Step into a StepLib you can just run: $ bitrise run share-this-step
Once it finishes the only thing left is to actually create a Pull Request,
the way described in the guide printed at the end of the process.
steps:
- script:
inputs:
- content: |-
#!/bin/bash
set -e
set -x
bitrise share start -c ${MY_STEPLIB_REPO_FORK_GIT_URL}
bitrise share create --stepid ${STEP_ID_IN_STEPLIB} --tag ${STEP_GIT_VERION_TAG_TO_SHARE} --git ${STEP_GIT_CLONE_URL}
bitrise share finish
7 changes: 2 additions & 5 deletions step.yml
Expand Up @@ -28,7 +28,8 @@ source_code_url: https://github.com/bitrise-io/steps-deploy-to-itunesconnect-she
support_url: https://github.com/bitrise-io/steps-deploy-to-itunesconnect-shenzhen/issues
host_os_tags:
- "osx-10.10"
project_type_tags: []
project_type_tags:
- ios
type_tags:
- "deploy"
is_requires_admin_user: false
Expand All @@ -45,7 +46,6 @@ inputs:
Path of the IPA file, to be deployed to iTunes Connect
is_required: true
is_expand: true
is_dont_change_value: false
- itunescon_user: ""
opts:
title: "iTunes Connect: User Apple ID (email)"
Expand All @@ -58,7 +58,6 @@ inputs:
on Apple's website!*
is_required: true
is_expand: true
is_dont_change_value: false
- password: ""
opts:
title: "iTunes Connect: Password"
Expand All @@ -74,7 +73,6 @@ inputs:
alphanumeric characters.
is_required: true
is_expand: true
is_dont_change_value: false
- app_id: ""
opts:
title: "iTunes Connect: App Apple ID"
Expand All @@ -87,5 +85,4 @@ inputs:
copy the *Apple ID*'s value from here (numeric, like 846814360)
is_required: true
is_expand: true
is_dont_change_value: false
outputs: []

0 comments on commit 65da3dc

Please sign in to comment.