
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
release-to-github-with-changelog
Advanced tools
Parses CHANGELOG.md to publish a new release resource to the Github api
Node v6.9.1 is required
Keep the released npm package in sync with the GitHub repo master branch:
CHANGELOG.md item is in sync with the last release on Github, with corresponding version tagpackage.json version is in sync with the master branch version tag
The sources of truth are CHANGELOG.md and package.json.
Your interface is your CHANGELOG.md.
Every CHANGELOG.md item should represent a release note of the version it describes:
# v0.2.0 //version tag
## The release title
// The release description in markdown
# v0.1.9
...
# v0.2.0
## We can fly
Great news! The machine can now also fly!
# v0.1.0
## We can move
### What the machine does
It can move, a bit slowly but still it moves.
//...
Either locally with export GITHUB_TOKEN=$yourToken or in your CI tool settings (see CircleCI example).
Don't forget the repository.url. It will be parsed to extract the repository full name (myOrg/myRepo in this example).
You can include a check of your CHANGELOG.md format in your test command by using the provided release-to-github-with-changelog-pre-release-checks command.
{
"version": "0.2.0",
"respository": {
"type": "git",
"url": "git+https://github.com/myOrg/myRepo.git"
},
"files": ["dist"],
"scripts": {
"build": // build dist files
"release": "npm publish && npm run release-to-github-with-changelog",
"release": "npm publish && npm run release-to-github-with-changelog --branch=releases", // optional branch name
"test": "release-to-github-with-changelog-pre-release-checks && karma start"
}
}
circle.yml
machine:
node:
version: 4.1.0
dependencies:
pre:
- echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login
deployment:
production:
branch: master
commands:
- npm run release
FAQs
Parses CHANGELOG.md to publish a new release resource to the Github api
We found that release-to-github-with-changelog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.