Giter VIP home page Giter VIP logo

ti-installr-hook's Introduction

ti-installr-hook Titanium

A titanium cli hook for deploying builds to installr, based on ti-testflight-hook

Installation

NPM

$ npm install -g ti-installr-hook --unsafe-perm

You need --unsafe-perm to auto-install the hook.

Usage

Add the installr api token to your tiapp.xml file.

  <property name="installr.api_token">ENTER_INSTALLR_API_TOKEN_HERE</property>

Optional - Set installr.notify to true, to notify all the testers that a new build is available. You can also list team names separated by commas

  <property name="installr.notify" type="bool">true</property>

OR

  <property name="installr.notify" type="bool">Devs,QA</property>

Optional - Set installr.add to true, to allow all previous testers access to the new build, but not email them. You can also list team names separated by commas

  <property name="installr.add" type="bool">true</property>

OR

  <property name="installr.add" type="bool">PMs,Legal</property>

Optional - Set installr.default_testers email address you want to invite to the latest build. Use comma-space for more than one email address

  <property name="installr.default_testers">[email protected], [email protected]</property>

Use the --installr flag with the titanium cli to upload to installr. For example:

$ ti build -p ios -T dist-adhoc --installr

Set release notes using --installr-release-notes flag. For example:

$ ti build -p ios -T dist-adhoc --installr --installr-release-notes='New build with awesome features'

You can also set notify and add using --installr-notify and --installr-add flags. For example:

$ ti build -p ios -T dist-adhoc --installr --installr-release-notes='New build' --installr-notify='Devs,QA' --installr-add='Legal'

If not set, you will be prompted for release notes and notify flag

Thanks to

Licence

Licensed under the MIT License

ti-installr-hook's People

Contributors

amitkothari avatar fokkezb avatar jeffbonnes avatar sschueller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ti-installr-hook's Issues

Unable to install the package via npm

This is what I get when I try to run sudo npm install -g ti-installr-hook --unsafe-perm:

npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated [email protected]: Significant regressions found
/Users/clement/.n/bin/ti-installr-hook -> /Users/clement/.n/lib/node_modules/ti-installr-hook/bin/install

> [email protected] postinstall /Users/clement/.n/lib/node_modules/ti-installr-hook
> node bin/install

events.js:163
      throw er; // Unhandled 'error' event
      ^

Error: spawn ti ENOENT
    at exports._errnoException (util.js:1034:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
    at Module.runMain (module.js:607:11)
    at run (bootstrap_node.js:423:7)
    at startup (bootstrap_node.js:147:9)
    at bootstrap_node.js:538:3
npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/clement/.n/bin/node" "/Users/clement/.n/bin/npm" "install" "-g" "ti-installr-hook" "--unsafe-perm"
npm ERR! node v7.8.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1

npm ERR! [email protected] postinstall: `node bin/install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node bin/install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ti-installr-hook package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node bin/install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ti-installr-hook
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ti-installr-hook
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/clement/.npm/_logs/2017-03-30T16_04_14_272Z-debug.log

Here is the log file /Users/clement/.npm/_logs/2017-03-30T16_04_14_272Z-debug.log.

2017-03-30T16_04_14_272Z-debug.log.txt

node -v outputs v7.8.0
npm -v outputs 4.2.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.