Skip to content

Commit

Permalink
update all release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mongodben committed Dec 14, 2023
1 parent 3b8b8e6 commit fd218e2
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 33 deletions.
11 changes: 7 additions & 4 deletions packages/chatbot-server-mongodb-public/.release-it.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{
"git": {
"commitArgs": ["-a"],
"commitMessage": "Release chatbot-server-mongodb-public v${version}",
"tag": false,
"commitMessage": "Release ${npm.name} v${version}",
"changelog": "git log --pretty=format:'* %s (%h)' ${latestTag}..HEAD -- .",
"tagMatch": "${npm.name}-*",
"getLatestTagFromAllRefs": true,
"tag": true,
"push": true,
"pushRepo": "upstream",
"tagName": "chatbot-server-mongodb-public-v${version}"
"tagName": "${npm.name}-v${version}"
},
"npm": {
"publish": false
},
"github": {
"releaseName": "chatbot-server-mongodb-public-v${version}",
"releaseName": "${npm.name}-v${version}",
"draft": true,
"release": true
},
Expand Down
11 changes: 7 additions & 4 deletions packages/ingest-mongodb-public/.release-it.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{
"git": {
"commitArgs": ["-a"],
"commitMessage": "Release ingest-mongodb-public v${version}",
"tag": false,
"commitMessage": "Release ${npm.name} v${version}",
"changelog": "git log --pretty=format:'* %s (%h)' ${latestTag}..HEAD -- .",
"tagMatch": "${npm.name}-*",
"getLatestTagFromAllRefs": true,
"tag": true,
"push": true,
"pushRepo": "upstream",
"tagName": "ingest-mongodb-public-v${version}"
"tagName": "${npm.name}-v${version}"
},
"npm": {
"publish": false
},
"github": {
"releaseName": "ingest-mongodb-public-v${version}",
"releaseName": "${npm.name}-v${version}",
"draft": true,
"release": true
},
Expand Down
10 changes: 6 additions & 4 deletions packages/mongodb-chatbot-server/.release-it.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"git": {
"commitArgs": ["-a"],
"commitMessage": "Release mongodb-chatbot-server v${version}\n\n${changelog}",
"changelog": "git log --pretty=format:\"* %s (%h)\" ${from}..${to} -- .",
"commitMessage": "Release ${npm.name} v${version}",
"changelog": "git log --pretty=format:'* %s (%h)' ${latestTag}..HEAD -- .",
"tagMatch": "${npm.name}-*",
"getLatestTagFromAllRefs": true,
"tag": true,
"push": true,
"pushRepo": "upstream",
"tagName": "mongodb-chatbot-server-v${version}"
"tagName": "${npm.name}-v${version}"
},
"npm": {
"publish": false
},
"github": {
"releaseName": "mongodb-chatbot-server-v${version}",
"releaseName": "${npm.name}-v${version}",
"draft": true,
"release": true
},
Expand Down
12 changes: 7 additions & 5 deletions packages/mongodb-chatbot-ui/.release-it.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"git": {
"commitArgs": ["-a"],
"commitMessage": "Release chat-ui v${version}",
"tag": false,
"commitMessage": "Release ${npm.name} v${version}",
"changelog": "git log --pretty=format:'* %s (%h)' ${latestTag}..HEAD -- .",
"tagMatch": "${npm.name}-*",
"getLatestTagFromAllRefs": true,
"tag": true,
"push": true,
"pushRepo": "upstream",
"tagName": "chat-ui-v${version}"
"tagName": "${npm.name}-v${version}"
},
"npm": {
"publish": false
},
"github": {
"releaseName": "chat-ui-v${version}",
"releaseName": "${npm.name}-v${version}",
"draft": true,
"autoGenerate": true,
"release": true
},
"hooks": {
Expand Down
10 changes: 6 additions & 4 deletions packages/mongodb-rag-ingest/.release-it.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"git": {
"commitArgs": ["-a"],
"commitMessage": "Release mongodb-rag-ingest v${version}\n\n${changelog}",
"changelog": "git log --pretty=format:\"* %s (%h)\" ${from}..${to} -- .",
"commitMessage": "Release ${npm.name} v${version}",
"changelog": "git log --pretty=format:'* %s (%h)' ${latestTag}..HEAD -- .",
"tagMatch": "${npm.name}-*",
"getLatestTagFromAllRefs": true,
"tag": true,
"push": true,
"pushRepo": "upstream",
"tagName": "mongodb-rag-ingest-v${version}"
"tagName": "${npm.name}-v${version}"
},
"npm": {
"publish": false
},
"github": {
"releaseName": "mongodb-rag-ingest-v${version}",
"releaseName": "${npm.name}-v${version}",
"draft": true,
"release": true
},
Expand Down
19 changes: 7 additions & 12 deletions packages/scripts/.release-it.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{
"git": {
"commitArgs": ["-a"],
"commitMessage": "Release scripts v${version}",
"tag": false,
"commitMessage": "Release ${npm.name} v${version}",
"changelog": "git log --pretty=format:'* %s (%h)' ${latestTag}..HEAD -- .",
"tagMatch": "${npm.name}-*",
"getLatestTagFromAllRefs": true,
"tag": true,
"push": true,
"pushRepo": "upstream",
"tagName": "scripts-v${version}"
"tagName": "${npm.name}-v${version}"
},
"npm": {
"publish": false
},
"github": {
"releaseName": "scripts-v${version}",
"releaseName": "${npm.name}-v${version}",
"draft": true,
"release": true
},
Expand All @@ -21,13 +24,5 @@
"pushd ../mongodb-chatbot-server && npm i && npm run build && popd",
"npm run build"
]
},
"plugins": {
"@release-it/bumper": {
"out": {
"file": "package.json",
"path": ["dependencies.mongodb-chatbot-server"]
}
}
}
}

0 comments on commit fd218e2

Please sign in to comment.