New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simsala

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simsala

Conflict free changelogs and release management

  • 0.0.23
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

simsala

Conflict free changelogs and simple release management. Simsala helps you to create a changelog based on Keep a Changelog and to release according to Semantic Versioning.

Installation

npm i -g simsala

Adding pending changes

simsala log

This will guide you through the process of adding pending changes as logs to the repository. Finally it will commit these changes to your branch to save you a step.

Options:

simsala log -h
Usage: log [options]

Options:
  -p, --pending-path [pending path]  Where are pending files located? (default: "./pending")
  -s, --stage-only                   Stage changes only instead of committing them
  -h, --help                         output usage information

Releasing

simsala release

This will bump the version, merge the pending changes and add them to the CHANGELOG.md. Finally it will commit the version changes and tag the commit.

Options:

$ simsala release -h
Usage: release [options]

Options:
  -s, --semver [semver type]             Which version (patch|minor|mayor) your want to increase? (default: "patch")
  -p, --pending-path [pending path]      Where are pending files located? (default: "./pending")
  -c, --changelog-path [changelog path]  Where is the changelog located? (default: "./CHANGELOG.md")
  -b, --beta                             Is this a beta release?
  -s, --stage-only                       Stage version bump changes only instead of committing them
  -h, --help                             output usage information

Release Candidate

In a collaborative flow you might want to create a PR for any release so your colleagues can approve the release. Simsala provides a command to create a release PR. You need to provide a GitHub access token either by --token or via a GITHUB_ACCESS_TOKEN environment variable.

simsala release-candidate --token <github access token>

Options:

$ simsala release-candidate -h
Usage: release-candidate [options]

Options:
  -s, --semver <semver type>             Which version (patch|minor|mayor) your want to increase? (default: "patch")
  -p, --pending-path <pending path>      Where are pending files located? (default: "./pending")
  -c, --changelog-path <changelog path>  Where is the changelog located? (default: "./CHANGELOG.md")
  -o, --owner <owner>                    Name of the owner or organization of the repository. (guessed from origin or GitHub Actions context if empty)
  -r, --repository <repository>          Name of the repo. (guessed from origin if empty)
  -t, --token <github auth token>        Token to authenticate to GitHub (to push chages).
  -m, --message <message>                Message to prepend to the changes in the release PR description.
  -h, --help

Simple releases

Simsala is designed so you can have a simple release flow. I propose setting up a GitHub Action lile you see in .github/workflows/release.yml that only triggers on the release branch. When you are ready to release just push to the release branch and Simsala will create a release PR for you.

sh``` git push origin develop:release


## Add a check for your PRs

Every PR should have a changelog entry in it. I propose setting up a GitHub Action lile you see in `.github/workflows/checkChangelog.yml`. It will run on all the PRs and check if the changelog was added.

Keywords

FAQs

Package last updated on 11 Oct 2020

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc