Skip to content

Instantly share code, notes, and snippets.

@vasarhelyia
Created March 29, 2016 16:00
Show Gist options
  • Save vasarhelyia/9f3ae26f5ea4aa4a8d6e to your computer and use it in GitHub Desktop.
Save vasarhelyia/9f3ae26f5ea4aa4a8d6e to your computer and use it in GitHub Desktop.
share-this-step:
envs:
- MY_STEPLIB_REPO_FORK_GIT_URL: https://github.com/vasarhelyia/bitrise-steplib.git
- STEP_ID_IN_STEPLIB: fastlane
- STEP_GIT_VERION_TAG_TO_SHARE: 1.2.3
- STEP_GIT_CLONE_URL: https://github.com/vasarhelyia/steps-fastlane.git
description: This workflow shares the fastlane step
steps:
- script:
inputs:
- content: |-
#!/bin/bash
set -ex
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment