File tree Expand file tree Collapse file tree 5 files changed +66
-4
lines changed
include/opentelemetry/sdk/version Expand file tree Collapse file tree 5 files changed +66
-4
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ Increment the:
1313
1414
1515## [ Unreleased]
16+
17+ ## [ 0.0.1] 2020-12-16
1618### Added
17- * Trace API and SDK
19+ * Trace API and SDK experimental
1820 * OTLP Exporter
1921### Changed
2022### Removed
Original file line number Diff line number Diff line change 1+ # Release History: opentelemetry-api
2+
3+ All notable changes to the api project will be documented in this file.
4+
5+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7+
8+ ## Guideline to update the version:
9+ Increment the:
10+ - MAJOR version when you make incompatible API/ABI changes,
11+ - MINOR version when you add functionality in a backwards compatible manner, and
12+ - PATCH version when you make backwards compatible bug fixes.
13+
14+
15+ ## [ Unreleased]
16+
17+ ## [ 0.0.1] 2020-12-16
18+ ### Added
19+ * Trace API experimental
20+ ### Changed
21+ ### Removed
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ if [ ! -f $changelog_file ]; then
4545 exit 1
4646fi
4747
48- if [ ! grep -q " ## [Unreleased] " $changelog_file ]; then
48+ if [ ! grep -q " ^\#\# \ [Unreleased\]$ " $changelog_file ]; then
4949 echo " Error: $changelog_file doesn't contain Unreleased information. Please update the file with changes and run this script again."
5050 exit 1
5151fi
5959# update CHANGELOG.md
6060date=$( date ' +%Y-%m-%d' )
6161sed -i " /\#\# \[Unreleased\]/a\\ \n\#\# \[${tag} \] ${date} " $changelog_file
62- if [$? -ne 0]; then
62+ if [ $? -ne 0 ]; then
6363 echo " Error: Cannot update CHANGELOG.md file. Update it manually, create the ${tag} and push changes to upstream"
6464 exit 1
6565fi
6666
67- git add .
67+ git add CHANGELOG.md
6868git commit -m " Prepare for releasing ${tag} "
6969
7070echo " Now validate the chages using git diff master, create the ${tag} and push changes to upstream"
Original file line number Diff line number Diff line change 1+ # Release History: opentelemetry-sdk
2+
3+ All notable changes to the sdk project will be documented in this file.
4+
5+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7+
8+ ## Guideline to update the version:
9+ Increment the:
10+ - MAJOR version when you make incompatible API/ABI changes,
11+ - MINOR version when you add functionality in a backwards compatible manner, and
12+ - PATCH version when you make backwards compatible bug fixes.
13+
14+
15+ ## [ Unreleased]
16+
17+ ## [ 0.0.1] 2020-12-16
18+ ### Added
19+ * Trace SDK experimental
20+ * OTLP Exporter
21+ ### Changed
22+ ### Removed
Original file line number Diff line number Diff line change 11#pragma once
22
3+ #include " opentelemetry/detail/preprocessor.h"
4+
5+ #define OPENTELEMETRY_SDK_ABI_VERSION_NO 0
6+ #define OPENTELEMETRY_SDK_VERSION " 0.0.1"
7+ #define OPENTELEMETRY_SDK_ABI_VERSION OPENTELEMETRY_STRINGIFY (OPENTELEMETRY_SDK_ABI_VERSION_NO)
8+
9+ // clang-format off
10+ #define OPENTELEMETRY_SDK_BEGIN_NAMESPACE \
11+ namespace opentelemetry { namespace sdk { inline namespace OPENTELEMETRY_CONCAT ( v, OPENTELEMETRY_SDK_ABI_VERSION_NO) {
12+
13+ #define OPENTELEMETRY_SDK_END_NAMESPACE \
14+ }}}
15+
16+ #define OPENTELEMETRY_SDK_NAMESPACE opentelemetry :: sdk :: OPENTELEMETRY_CONCAT(v, OPENTELEMETRY_SDK_ABI_VERSION_NO)
17+
18+ // clang-format on
19+
320#include " opentelemetry/version.h"
421
522OPENTELEMETRY_BEGIN_NAMESPACE
You can’t perform that action at this time.
0 commit comments