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

leiningen-semantic-release

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leiningen-semantic-release

Automated release management for leiningen projects

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

leiningen-semantic-release

semantic-release plugin to publish a leiningen project.

CircleCI Greenkeeper badge

npm latest version npm next version

StepDescription
verifyConditionsChecks the project.clj is syntactically valid.
prepareUpdate the project.clj version and package the output jar file.
publishPublish the jar (and generated Maven metadata) to a maven repository (or clojars).

Install

$ npm install leiningen-semantic-release -D

Usage

The plugin can be configured in the semantic-release configuration file:

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "@semantic-release/git",
    {
      "assets": ["project.clj"]
    }
  ]
}

Configuration

Npm registry authentication

Environment variables

VariableDescription
LEIN_USERNAMEThe username for the maven repository you are publishing to (or clojars).
LEIN_PASSWORDThe password for the maven repository you are publishing to (or clojars).
LEIN_PASSPHRASEThe GPG passphrase to unlock the GPG keyring your signing key is in (or clojars).

As mentioned in the leiningen documentation, your :deploy-repositories section of project.clj should be set up to use environment variables.

For example:

:deploy-repositories [["releases" {:url "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
                                   :username :env
                                   :password :env
                                   :passphrase :env}
                       "snapshots" {:url "https://oss.sonatype.org/content/repositories/snapshots/"
                                    :username :env
                                    :passphrase :env
                                    :passphrase :env}]]

Options

OptionsDescriptionDefault
skipDeployWhether to publish the package to ta respository with lein deploy. If false the project.clj version will still be updated.true
pkgRootDirectory path to publish..
uberJarWhether to package the project as an uber jar (include dependencies in the jar)false

Note: The pkgRoot directory must contains a project.clj. The version will be updated only in the project.clj within the pkgRoot directory.

Note: If you use a shareable configuration that defines one of these options you can set it to false in your semantic-release configuration in order to use the default value.

FAQs

Package last updated on 03 Oct 2019

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