-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.releaserc.js
77 lines (75 loc) · 2.19 KB
/
.releaserc.js
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
module.exports = {
// https://github.com/semantic-release/semantic-release/blob/master/docs/extending/plugins-list.md
plugins: [
[
"@semantic-release/commit-analyzer",
{
preset: "conventionalcommits",
},
],
[
"@semantic-release/release-notes-generator",
{
preset: "conventionalcommits",
},
],
// disabled due to authentication https://github.com/semantic-release/git#git-authentication
[
"@semantic-release/changelog",
{
changelogTitle: `<!-- markdownlint-configure-file {"MD024": { "siblings_only": true }, "MD012": false } -->
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).`,
},
],
[
"@semantic-release/npm",
{
npmPublish: false,
tarballDir: ".",
},
],
[
"@semantic-release-plus/docker",
{
name: "adm-dal",
registry: "884661243007.dkr.ecr.us-east-1.amazonaws.com",
publishChannelTag: true,
skipLogin: true,
},
],
[
"@semantic-release-plus/docker",
{
name: "adm-dal",
registry: "884661243007.dkr.ecr.eu-central-1.amazonaws.com",
publishChannelTag: true,
skipLogin: true,
},
],
[
"@semantic-release/git",
{
message: "chore(release): ${nextRelease.version} ${nextRelease.notes}",
assets: [
"CHANGELOG.md",
"package.json",
"package-lock.json",
],
},
],
[
"@semantic-release/github",
{
successComment:
":tada: This ${issue.pull_request ? 'pull request' : 'issue'} is included in [version ${nextRelease.version}](${releases.filter(release => /github.com/i.test(release.url))[0].url}) :tada:",
assets: ["*.tgz"],
},
],
],
tagFormat: "${version}",
branches: [
{ name: "master" },
],
};