@jcoreio/condition-solano

    1.0.0 • Public • Published

    @jcoreio/condition-solano

    semantic-release plugin to check Solano CI environment before publishing.

    Travis Codecov Greenkeeper badge

    Verify that semantic-release is running:

    • on Solano CI
    • on the right git branch and not on a PR build

    Options

    Option Description Default
    githubToken Required. The Github token used to authenticate with Travis API. process.env.GH_TOKEN or process.env.GITHUB_TOKEN
    githubUrl The GitHub Enterprise endpoint. process.env.GH_URL or process.env.GITHUB_URL
    githubApiPathPrefix The GitHub Enterprise API prefix. process.env.GH_PREFIX or process.env.GITHUB_PREFIX

    Configuration

    The plugin is used by default by semantic-release so no specific configuration is required if githubToken, githubUrl, and githubApiPathPrefix are set via environment variable.

    Always run semantic-release in a post_build hook so that it runs after all workers in the build matrix succeed.

    nodejs:
      version: '8.9'
     
    hooks:
      post_build: npm run semantic-release

    Install

    npm i @jcoreio/condition-solano

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • emily-stener
    • dsorensen
    • awinkler
    • mbrigdan
    • ngutzmann
    • jrmclaurin
    • jedwards1211
    • eladendorf
    • prudhvitella
    • brayden-arthur
    • rossjbartlett
    • anton.biryukov
    • etbci