Skip to content

Instantly share code, notes, and snippets.

@martinloesethjensen
Last active March 27, 2020 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinloesethjensen/79c11e0e210b38e3cff303593e67a599 to your computer and use it in GitHub Desktop.
Save martinloesethjensen/79c11e0e210b38e3cff303593e67a599 to your computer and use it in GitHub Desktop.
How to run bitrise script for the creation of new app with fish shell

Bitrise command propersition

It might be beneficial to use this command below so more shells can run the command without having to change the command.

bash -c ""

This will run on at least fish, zsh and bash shell

bash -c "bash <(curl -sfL "https://raw.githubusercontent.com/bitrise-io/bitrise-add-new-project/master/_scripts/run.sh") --api-token "token" --org "org" --public "public" --website" 

This will only run on fish

bash (curl -sfL "https://raw.githubusercontent.com/bitrise-io/bitrise-add-new-project/master/_scripts/run.sh" | psub) --api-token "token" --org "org" --public "public" --website

This will run on bash and zsh

bash <(curl -sfL "https://raw.githubusercontent.com/bitrise-io/bitrise-add-new-project/master/_scripts/run.sh") --api-token "token" --org "org" --public "public" --website
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment