Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@technologiestiftung/semantic-release-config

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@technologiestiftung/semantic-release-config

A sharable semantic release config

  • 1.2.1
  • npm
  • Socket score

Version published
Weekly downloads
242
decreased by-23.17%
Maintainers
6
Weekly downloads
 
Created
Source

All Contributors

shareable semantic-release-config

shareable semantic-release-config

Installation

npm install @technologiestiftung/semantic-release-config

Usage

Add file called release.config.js to your repo

module.exports = {
	extends: "@technologiestiftung/semantic-release-config",
};

If you use a staging/production environment, where staging is the branch staging and production is deployed from main it is wise to add an additional package to do some backmerging. Install it using npm npm i -D @saithodev/semantic-release-backmerge and add it as a plugin to your config, referencing the right branches.


 branches: [
        { name: "main" },
        { name: "staging", channel: "pre/rc", prerelease: "rc" }, // `prerelease` is built with the template `${name.replace(/^pre\\//g, "")}`
    ],
plugins: [
		[
			"@saithodev/semantic-release-backmerge",
			{
				branches: [{from: "main", to: "staging"}],
				backmergeStrategy: "merge",
			},
		],
	],

Overwrite possible keys. See the semantic-release docs. If operating with protected branches, you can need to set the option persist-credentials: false in your workflow file on the actions/checkout@v3 step.

steps:
  - uses: actions/checkout@v3
    with:
      persist-credentials: false

See also this repos .github/workflows/test-and-release.yml how to use this in GitHub Actions.

Needs a Personal Access Token with repo scope to be set as GH_TOKEN in the repo secrets and a NPM_TOKEN with write scope.

Development

Do your thing. Early stages.

Contributors

Thanks goes to these wonderful people (emoji key):

Fabian Morón Zirfas
Fabian Morón Zirfas

📖 💻 🚇
Lucas Vogel
Lucas Vogel

📖 🤔 👀 💻
Ingo Hinterding
Ingo Hinterding

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Content Licensing

Credits

Made by

A project by

Supported by

Keywords

FAQs

Package last updated on 17 Apr 2023

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