Narcissistic Project Managers

    is-travis-ci-build-for-tag

    1.1.1 • Public • Published

    is-travis-ci-build-for-tag

    NPM version Travis-CI Status Appveyor Status Daviddm Status

    Check if your code is running on Travis-CI build for a tag

    is-travis-ci-build is related, not only for a tag.

    This is based on is-travis.

    Install

    $ npm install --save is-travis-ci-build-for-tag
    

    Usage

    var isTravisCiBuildForTag = require('is-travis-ci-build-for-tag');
     
    // on your local computer
    isTravisCiBuildForTag();
    //=> false
     
    // on Travis-CI build for a tag
    isTravisCiBuildForTag();
    //=> true

    CLI

    $ npm install --global is-travis-ci-build-for-tag
    
    $ is-travis-ci-build-for-tag --help
      Check if your code is running on Travis-CI build for a tag.
    
      Usage
        $ is-travis-ci-build-for-tag
    
      Examples
        // on your local computer
        $ is-travis-ci-build-for-tag
        This is not Travis-CI build for a tag. //=> exit code: 1
    
        // on Travis-CI build for a tag
        $ is-travis-ci-build-for-tag
        (no output) //=> exit code: 0
    

    API

    isTravisCiBuildForTag()

    Changelog

    changelog.md.

    License

    MIT © sanemat

    is-travis

    MIT © Sindre Sorhus

    Install

    npm i is-travis-ci-build-for-tag

    DownloadsWeekly Downloads

    0

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • sanemat