iu-semantic-release-sandbox

1.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i iu-semantic-release-sandbox

Weekly Downloads

0

Version

1.1.0

License

SEE LICENSE IN LICENSE

Unpacked Size

141 kB

Total Files

6

Last publish

Collaborators

  • iubot