-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.config.js
More file actions
25 lines (25 loc) · 963 Bytes
/
release.config.js
File metadata and controls
25 lines (25 loc) · 963 Bytes
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
module.exports = {
branches: ['main'],
'plugins': [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/npm',
[
'@semantic-release/exec',
{
'prepareCmd': `
docker build . --file Dockerfile --tag ghcr.io/web3-plurality/plurality-developer-dashboard-pre:latest \\
&& docker push ghcr.io/web3-plurality/plurality-developer-dashboard-pre:latest \\
&& docker tag ghcr.io/web3-plurality/plurality-developer-dashboard-pre:latest ghcr.io/web3-plurality/plurality-developer-dashboard-pre:\${nextRelease.version} \\
&& docker push ghcr.io/web3-plurality/plurality-developer-dashboard-pre:\${nextRelease.version}
`
}
],
'@semantic-release/git',
'@semantic-release/github'
],
'git': {
'assets': ['package.json'],
'message': 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
}
};