Skip to content

Commit

Permalink
Fix version handling
Browse files Browse the repository at this point in the history
  • Loading branch information
pyohannes committed Mar 3, 2021
1 parent b3a899e commit 9305215
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions api/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
copyright = '2021, OpenTelemetry authors'
author = 'OpenTelemetry authors'

# The full version, including alpha/beta/rc tags
release = '0.1.0'

# Run doxygen
# -----------
# For the readthedocs builds, for some reason exhale doesn't find doxygen.
Expand Down
4 changes: 2 additions & 2 deletions buildscripts/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ END
git add "$(pwd)/sdk/src/version/version.cc"

# Update documentation version
sed -i "/^PROJECT_BRIEF/cPROJECT_BRIEF = \"Version ${short_version}\"" "$(pwd)/api/docs/Doxyfile"
git add "$(pwd)/api/docs/Doxyfile"
sed -i "/^release =/crelease = \"${short_version}\"" "$(pwd)/docs/public/conf.py"
git add "$(pwd)/docs/public/conf.py"
2 changes: 1 addition & 1 deletion docs/public/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
author = 'OpenTelemetry authors'

# The full version, including alpha/beta/rc tags
release = '0.1.0'
release = '0.2.0'

# Run sphinx on subprojects and copy output
# -----------------------------------------
Expand Down

0 comments on commit 9305215

Please sign in to comment.