-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrelease.dev.config.js
More file actions
48 lines (48 loc) · 1.18 KB
/
release.dev.config.js
File metadata and controls
48 lines (48 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
module.exports = {
extends: "./release.config.js",
branches: [
{
name: "develop",
prerelease: "dev",
channel: "dev",
},
],
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
changelogFile: "CHANGELOG.md",
changelogTitle:
"# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).",
},
],
[
"@semantic-release/npm",
{
npmPublish: true,
tarballDir: "dist",
pkgRoot: ".",
},
],
[
"@semantic-release/github",
{
assets: [
{
path: "dist/*.tgz",
label: "Development Distribution",
},
],
},
],
[
"@semantic-release/git",
{
assets: ["package.json", "CHANGELOG.md"],
message: `chore(release): \${nextRelease.version} [skip ci]\n\n\${nextRelease.notes}`,
},
],
],
};