Skip to content

Commit

Permalink
chore(docs): ensure generated protobuf docs uses supplied version (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Jan 6, 2023
1 parent ed6bbb2 commit d3f052d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev/sh/build-protobuf-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ function buildDocs() {
DOCTUM_CONFIG=${ROOT_DIR}/dev/src/Docs/doctum-protobuf-config.php
PROTOBUF_DOCS_VERSION=${GIT_TAG_NAME} php ${DOCTUM_EXECUTABLE} update ${DOCTUM_CONFIG} -v
}

# ensure we have the correct version of protobuf
composer update google/protobuf:$GIT_TAG_NAME
# download doctum.phar
downloadDoctum
# build the docs
buildDocs ${GIT_TAG_NAME}

# Construct the base index file to redirect to the Protobuf namespace
Expand Down

0 comments on commit d3f052d

Please sign in to comment.