🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@s3pweb/release-message-creator

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s3pweb/release-message-creator

Create a formatted release message from a standard-release changelog

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

npm (scoped) JavaScript Style Guide

Release message creator

Create a formatted release message from a standard-release changelog.

Installation

npm install -g @s3pweb/release-message-creator

Usage

create-release-message

The create-release-message command creates a release message with a title and the last version changes. It takes 3 optionals arguments:

  • -f The path to the changelog file.
  • -m A message template with up to 2 placeholders (%s) for the new version and the old version (in that order).
  • -w The full webhook url to send the message to. (e.g. https://discord.com/api/webhooks/123456789/abcdefghijklmnopqrstuvwxyz).
create-release-message -f <changelog location> -m <message> -w <webhook discord>
create-release-message -f ./CHANGELOG.md -m "Release API X, version %s (replacing %s) :" -w ${WEBHOOK}

Result:

Release API X, version 0.0.5 (replacing 0.0.4):

## [0.0.5] (2022-05-24)

### Features
* **actions:** add an automatic release action 
* **webhook:** add axios to call the webhook 

create-github-message

The create-release-message command creates a JSON string compatible with GitHub API. It takes 1 optional argument:

  • -f The path to the changelog file.
create-github-message -f <changelog location>
create-github-message -f ./CHANGELOG.md

Result:

"## [0.0.5](https://github.com/s3pweb/release-message-creator/compare/v0.0.4...v0.0.5) (2022-05-24)\n\n### Features\n* **actions:** add an automatic release action ([5589f88](https://github.com/s3pweb/release-message-creator/commit/5589f88366c2690c1648fb8d82b70affac1c1904))\n* **webhook:** add axios to call the webhook ([830adb9](https://github.com/s3pweb/release-message-creator/commit/830adb9afb61dbd33823f31e8606525c9d59999f))"

Keywords

changelog

FAQs

Package last updated on 11 Apr 2025

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