Skip to content

Commit

Permalink
build: add release-please config, fix owlbot-config
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Nov 11, 2022
1 parent 99bf2f1 commit 78a8253
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"packages/gapic-node-templating": "0.0.0",
"packages/google-analytics-admin": "4.3.0",
"packages/google-api-apikeys": "0.1.3",
"packages/google-cloud-batch": "0.3.2",
"packages/google-cloud-beyondcorp-appconnections": "0.2.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest

deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/analytics/admin/(.*)/.*-nodejs/(.*)
dest: /owl-bot-staging/$1/$2
- source: /google/analytics/admin/(.*)/.*-nodejs
dest: /owl-bot-staging/google-analytics-admin/$1

2 changes: 1 addition & 1 deletion packages/google-analytics-admin/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"default_version": "v1alpha",
"language": "nodejs",
"name_pretty": "Google Analytics Admin",
"repo": "googleapis/nodejs-analytics-admin",
"repo": "googleapis/google-cloud-node",
"product_documentation": "https://developers.google.com/analytics",
"requires_billing": false,
"name": "analytics-admin",
Expand Down
4 changes: 2 additions & 2 deletions packages/google-analytics-admin/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""This script is used to synthesize generated parts of this library."""
import synthtool.languages.node as node
import synthtool.languages.node_mono_repo as node

node.owlbot_main(templates_excludes=['.github/CODEOWNERS'])
node.owlbot_main(relative_dir="packages/google-analytics-admin",templates_excludes=['.github/CODEOWNERS'])
13 changes: 9 additions & 4 deletions packages/google-analytics-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@google-analytics/admin",
"version": "4.3.0",
"description": "Admin client for Node.js",
"repository": "googleapis/nodejs-analytics-admin",
"repository": {
"type": "git",
"directory": "packages/google-analytics-admin",
"url": "https://github.com/googleapis/google-cloud-node.git"
},
"license": "Apache-2.0",
"author": "Google LLC",
"main": "build/src/index.js",
Expand Down Expand Up @@ -34,8 +38,8 @@
"lint": "gts check",
"prelint": "cd samples; npm link ../; npm i",
"prepare": "npm run compile-protos && npm run compile",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "c8 mocha build/system-test",
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"system-test": "npm run compile && c8 mocha build/system-test",
"test": "c8 mocha build/test"
},
"dependencies": {
Expand All @@ -62,5 +66,6 @@
},
"engines": {
"node": ">=12.0.0"
}
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-analytics-admin"
}
3 changes: 2 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"initial-version": "0.1.0",
"packages": {
"packages/google-analytics-admin": {},
"packages/google-api-apikeys": {},
"packages/google-cloud-batch": {},
"packages/google-cloud-beyondcorp-appconnections": {},
Expand Down Expand Up @@ -49,4 +50,4 @@
}
],
"release-type": "node"
}
}

0 comments on commit 78a8253

Please sign in to comment.