Skip to content

Commit 506ac50

Browse files
authored
feat: Add support for instrumentation version annotations (#760)
1 parent 0fcab79 commit 506ac50

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/nodejs-logging-winston/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
common_templates = gcp.CommonTemplates()
2424
templates = common_templates.node_library()
25-
s.copy(templates, excludes=[".github/auto-label.yaml"])
25+
s.copy(templates, excludes=[".github/auto-label.yaml", ".github/release-please.yml"])
2626
node.fix_hermetic()
2727

2828

packages/nodejs-logging-winston/src/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export const LOGGING_SAMPLED_KEY = 'logging.googleapis.com/trace_sampled';
9292
/**
9393
* Default library version to be used if version retrieval fails
9494
*/
95-
export const NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION = 'unknown';
95+
export const NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION = '1.0.0'; // {x-release-please-version}
9696

9797
// The variable to hold cached library version
9898
let libraryVersion: string;

0 commit comments

Comments
 (0)