1.1.0 • Published 7 years ago

iu-semantic-release-sandbox v1.1.0

Weekly downloads
7
License
SEE LICENSE IN LI...
Repository
github
Last release
7 years ago

This repo is a sandbox for learning how to use semantic-release in conjunction with Circle CI (https://circleci.com/gh/indiana-university/semantic-release-sandbox).

Steps to implement

  1. Add the semantic-release package to package.json: yarn add semantic-release -D
  2. In Circle CI (CCI), start following your project (if you aren't already.)
  3. In CCI, browse to Settings -> Organizations -> Context. Create a context with the name of your project. Contexts are where we store secrets.
  4. Generate an NPM token: npm token create. Add the token to the CCI context as NPM_TOKEN.
  5. Generate a GitHub personal access token with the public_repo scope. Add the token to the CCI context as GH_TOKEN.
  6. Create a /.circleci/config.yml. Use the one in this repo as a basis for yours. It includes a publish_package job that is orchestrated to run on pushes to master.

Note on PRs

If PRs are squash-merged, the PR squash-merge commit message must itself be in the Angular Commit Message Style.