Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add release-please automation #659

Merged
merged 11 commits into from
Sep 21, 2021
15 changes: 15 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
push:
branches:
- main

name: Run Release Please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v2
with:
command: manifest
token: ${{secrets.RELEASE_PR_TOKEN}}
dyladan marked this conversation as resolved.
Show resolved Hide resolved
default-branch: main
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,6 @@ package.json.lerna_backup

*.iml
.idea

# version.ts file is automatically generated at compile time
version.ts
42 changes: 42 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"detectors/node/opentelemetry-resource-detector-alibaba-cloud": "0.24.0",
"detectors/node/opentelemetry-resource-detector-aws": "0.24.0",
"detectors/node/opentelemetry-resource-detector-gcp": "0.24.0",
"detectors/node/opentelemetry-resource-detector-github": "0.24.0",
"metapackages/auto-instrumentations-node": "0.24.0",
"metapackages/auto-instrumentations-web": "0.24.0",
"packages/opentelemetry-browser-extension-autoinjection": "0.24.0",
willarmiros marked this conversation as resolved.
Show resolved Hide resolved
"packages/opentelemetry-host-metrics": "0.24.0",
"packages/opentelemetry-id-generator-aws-xray": "0.24.0",
"packages/opentelemetry-test-utils": "0.24.0",
"plugins/node/opentelemetry-instrumentation-aws-lambda": "0.24.0",
"plugins/node/opentelemetry-instrumentation-bunyan": "0.24.0",
"plugins/node/opentelemetry-instrumentation-cassandra": "0.24.0",
"plugins/node/opentelemetry-instrumentation-connect": "0.24.0",
"plugins/node/opentelemetry-instrumentation-dns": "0.24.0",
"plugins/node/opentelemetry-instrumentation-express": "0.24.0",
"plugins/node/opentelemetry-instrumentation-generic-pool": "0.24.0",
"plugins/node/opentelemetry-instrumentation-graphql": "0.24.0",
"plugins/node/opentelemetry-instrumentation-hapi": "0.24.0",
"plugins/node/opentelemetry-instrumentation-ioredis": "0.24.0",
"plugins/node/opentelemetry-instrumentation-knex": "0.24.0",
"plugins/node/opentelemetry-instrumentation-koa": "0.24.0",
"plugins/node/opentelemetry-instrumentation-memcached": "0.24.0",
"plugins/node/opentelemetry-instrumentation-mongodb": "0.24.0",
"plugins/node/opentelemetry-instrumentation-mysql": "0.24.0",
"plugins/node/opentelemetry-instrumentation-mysql2": "0.24.0",
"plugins/node/opentelemetry-instrumentation-nestjs-core": "0.24.0",
"plugins/node/opentelemetry-instrumentation-net": "0.24.0",
"plugins/node/opentelemetry-instrumentation-pg": "0.24.0",
"plugins/node/opentelemetry-instrumentation-pino": "0.24.0",
"plugins/node/opentelemetry-instrumentation-redis": "0.24.0",
"plugins/node/opentelemetry-instrumentation-restify": "0.24.0",
"plugins/node/opentelemetry-instrumentation-router": "0.24.0",
"plugins/node/opentelemetry-instrumentation-winston": "0.24.0",
"plugins/web/opentelemetry-instrumentation-document-load": "0.24.0",
"plugins/web/opentelemetry-instrumentation-user-interaction": "0.24.0",
"plugins/web/opentelemetry-plugin-react-load": "0.24.0",
"propagators/opentelemetry-propagator-aws-xray": "0.24.0",
"propagators/opentelemetry-propagator-grpc-census-binary": "0.24.0",
"propagators/opentelemetry-propagator-ot-trace": "0.24.0"
}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"propagators/*",
"detectors/node/*"
],
"version": "0.24.0",
"version": "independent",
"changelog": {
"repo": "open-telemetry/opentelemetry-js-contrib",
"labels": {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opentelemetry-contrib",
"version": "0.24.0",
"version": "0.1.0",
"description": "This is a repository for OpenTelemetry JavaScript contributions.",
"repository": {
"type": "git",
Expand All @@ -14,9 +14,10 @@
"scripts": {
"clean": "lerna run clean",
"postinstall": "npm run bootstrap",
"precompile": "tsc --version",
"precompile": "tsc --version && lerna run version",
"version:update": "lerna run version:update",
"compile": "lerna run compile",
"prewatch": "npm run precompile",
"test": "lerna run test",
"test:ci:changed": "lerna run test --since origin/main",
"test:browser": "lerna run test:browser",
Expand Down