-
Notifications
You must be signed in to change notification settings - Fork 1
/
release.config.mjs
43 lines (43 loc) · 994 Bytes
/
release.config.mjs
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
/**
* @type {import('semantic-release').GlobalConfig}
*/
export default {
branches: [
{
name: "main",
prerelease: false,
},
{
name: "rc",
prerelease: true,
},
],
repositoryUrl: "[email protected]:snyk/snyk-universal-broker-helm.git",
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/exec",
{
prepareCmd:
"helm dep up && helm package --version ${nextRelease.version} .",
publishCmd:
"helm push snyk-universal-broker-*.tgz oci://registry-1.docker.io/snyk",
execCwd: "snyk-universal-broker",
},
],
[
"@semantic-release/github",
{
assets: [
{
path: "snyk-universal-broker/snyk-universal-broker-*.tgz",
},
],
successCommentCondition: false,
failCommentCondition: false,
},
],
],
};