Socket
Socket
Sign inDemoInstall

@semantic-release/exec

Package Overview
Dependencies
Maintainers
4
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-release/exec

semantic-release plugin to run custom shell commands


Version published
Weekly downloads
315K
increased by11.43%
Maintainers
4
Weekly downloads
 
Created

What is @semantic-release/exec?

@semantic-release/exec is a plugin for semantic-release that allows you to execute shell commands at different points in the release lifecycle. This can be useful for tasks such as running custom scripts, updating documentation, or performing other actions that are not covered by the default plugins.

What are @semantic-release/exec's main functionalities?

Prepare Command

The prepare command is executed during the prepare step of the release process. This can be used to run any custom scripts or commands needed to prepare the release.

{"plugins":["@semantic-release/exec",{"prepareCmd":"echo 'Preparing release version ${nextRelease.version}'"}]}

Publish Command

The publish command is executed during the publish step of the release process. This can be used to run any custom scripts or commands needed to publish the release.

{"plugins":["@semantic-release/exec",{"publishCmd":"echo 'Publishing release version ${nextRelease.version}'"}]}

Success Command

The success command is executed after the release has been successfully published. This can be used to run any custom scripts or commands needed to finalize the release.

{"plugins":["@semantic-release/exec",{"successCmd":"echo 'Release version ${nextRelease.version} was successful'"}]}

Fail Command

The fail command is executed if the release process fails. This can be used to run any custom scripts or commands needed to handle the failure.

{"plugins":["@semantic-release/exec",{"failCmd":"echo 'Release version ${nextRelease.version} failed'"}]}

Other packages similar to @semantic-release/exec

Keywords

FAQs

Package last updated on 15 Dec 2021

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