1.0.0 • Published 8 years ago

@jcoreio/condition-solano v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

@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

OptionDescriptionDefault
githubTokenRequired. The Github token used to authenticate with Travis API.process.env.GH_TOKEN or process.env.GITHUB_TOKEN
githubUrlThe GitHub Enterprise endpoint.process.env.GH_URL or process.env.GITHUB_URL
githubApiPathPrefixThe 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