-
-
Notifications
You must be signed in to change notification settings - Fork 75
Expand file tree
/
Copy pathrelease.config.js
More file actions
14 lines (14 loc) · 641 Bytes
/
release.config.js
File metadata and controls
14 lines (14 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export const branches = ["main"];
export const plugins = [
"@semantic-release/commit-analyzer", // read commit messages
"@semantic-release/release-notes-generator", // generate release notes
"@semantic-release/changelog", // update CHANGELOG.md
["@semantic-release/npm", { npmPublish: false }], // update version in package.json without publishing to npm
"@semantic-release/github"[ // create GitHub release
("@semantic-release/exec",
{
// Questo comando scrive nel file speciale di GitHub Actions solo se la release ha successo
successCmd: "echo 'new_release_published=true' >> $GITHUB_OUTPUT",
})
],
];