This repository has been archived by the owner on Aug 4, 2024. It is now read-only.
forked from Unsupervisedcom/release-config-general
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Zack Stevens <zack.stevens@unsupervised.com>
- Loading branch information
Zack Stevens
and
Zack Stevens
authored
Dec 21, 2021
1 parent
a35d3be
commit 083654c
Showing
4 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,33 @@ | ||
# release-config-template | ||
semantic-release release configuration template repository | ||
|
||
# How do I use it? | ||
1. modify `index.js` to export whatever release config you want, this is the shareable config that other releases will use. | ||
2. Replace all instances of `release-config-template` with the name of your release config. It should follow the convention `release-config-{your name here}` | ||
3. PR to main following conventional commits. Make sure your squash message follows conventional commits. | ||
4. The release workflow should run, and publish your shareable config to npm so you can use it in releases via extends as `@unsupervised/release-config-{your name here}` | ||
# release-config-general | ||
A semantic-release sharable configuration for releasing general code. This is a fairly standard configuration with no exec plugins, and no npm plugin. | ||
This release config generats release notes, a changelog, commits the changelog via the git plugin, and releases to github. | ||
## Plugins | ||
|
||
This shareable configuration use the following plugins: | ||
|
||
- [`@semantic-release/commit-analyzer`](https://github.com/semantic-release/commit-analyzer) | ||
- [`@semantic-release/release-notes-generator`](https://github.com/semantic-release/release-notes-generator) | ||
- [`@semantic-release/changelog`](https://github.com/semantic-release/changelog) | ||
- [`@semantic-release/git`](https://github.com/semantic-release/git) | ||
- [`@semantic-release/github`](https://github.com/semantic-release/github) | ||
|
||
## Install | ||
|
||
```bash | ||
$ npm install --save-dev semantic-release @unsupervised/release-config-general | ||
``` | ||
|
||
## Usage | ||
|
||
The shareable config can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration): | ||
|
||
```json | ||
{ | ||
"extends": "@unsupervised/release-config-general" | ||
} | ||
``` | ||
|
||
## Configuration | ||
|
||
See each [plugin](#plugins) documentation for required installation and configuration steps. | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters