Socket
Book a DemoInstallSign in
Socket

@ht2-labs/semantic-release

Package Overview
Dependencies
Maintainers
3
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ht2-labs/semantic-release

A package containing HT2 Labs' Semantic Release scripts

3.0.23
latest
Source
npmnpm
Version published
Maintainers
3
Created
Source

Semantic Release

Package containing HT2 Labs' scripts for Semantic Release.

ONLY WORKS WITH NODE 8 AND ABOVE IN CI

Usage

  • Install it with npm i -D -E @ht2-labs/semantic-release@latest.
  • Add a semantic-release script to your package.json file using one of the scripts.
  • Use npm run semantic-release after successful builds in your CI config.
  • 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.
  • Add NPM_TOKEN to your CI environment (only for "public" projects).
  • Add Docker environment variables to your CI environment (only for "app" projects).
    • DOCKER_EMAIL
    • DOCKER_USERNAME
    • 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

Package last updated on 30 Jun 2023

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.