-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.json
31 lines (31 loc) · 1003 Bytes
/
.releaserc.json
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
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/github", {
"assets": [
{"path": "src/output/*.nupkg", "label": "TimesheetFiller.nupkg"}
]
}],
[
"@semantic-release/exec", {
"prepareCmd" : "(cd src/TimesheetFiller.Cli && DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true dotnet pack -c Release /p:Version=${nextRelease.version} /p:PackageReleaseNotes=\"${nextRelease.notes}\" /p:PackageReadmeFile=./readme.md)",
"publishCmd": "dotnet nuget push ./src/output/*.nupkg -k ${process.env.NUGET_TOKEN} -s https://api.nuget.org/v3/index.json"
}
],
[
"@semantic-release/git", {
"assets": ["package.json", "CHANGELOG.md"],
"message": "release: Released v${nextRelease.version} [skip ci]"
}
]
]
}