Socket
Socket
Sign inDemoInstall

@ht2-labs/semantic-release

Package Overview
Dependencies
7
Maintainers
3
Versions
297
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ht2-labs/semantic-release

A package containing HT2 Labs' Semantic Release scripts


Version published
Weekly downloads
174
increased by31.82%
Maintainers
3
Install size
38.4 MB
Created
Weekly downloads
 

Readme

Source

Semantic Release

Package containing HT2 Labs' scripts for Semantic Release.

ONLY WORKS WITH NODE 8 AND ABOVE IN CI

Usage

  1. Install it with npm i -D -E @ht2-labs/semantic-release@latest.
  2. Add a semantic-release script to your package.json file using one of the scripts.
  3. Use npm run semantic-release after successful builds in your CI config.
  4. Add GH_TOKEN to your CI environment. If you'd like to use @HT2Bot, @ryansmith94 can provide the token, but you'll need to add @HT2Bot to your repo.
  5. Add NPM_TOKEN to your CI environment (only for "public" projects).
  6. Add Docker environment variables to your CI environment (only for "app" projects).
    1. DOCKER_EMAIL
    2. DOCKER_USERNAME
    3. DOCKER_PASSWORD

Note that if you're using this for a "public" (npm published) project and your scoping the project to the ht2-labs npm organisation you must include the following snippet in your package.json file.

"publishConfig": {
  "access": "public"
}

Scripts

ProjectScript
Public CircleCI Appht2-release-public-circleci-app
Public CircleCI Libht2-release-public-circleci-lib
Public CircleCI Lib (/dist only)ht2-release-public-circleci-lib-dist
Public TravisCI Appht2-release-public-travisci-app
Public TravisCI Libht2-release-public-travisci-lib
Private CircleCIht2-release-private-circleci
Private TravisCIht2-release-private-travisci

CI Examples

CircleCI Example
- deploy:
    name: Release
    command: npm run semantic-release
TravisCI Example
after_success:
  - npm run semantic-release

FAQs

Last updated on 30 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc