Unverified Commit 31dbb754 authored by Matti Picus's avatar Matti Picus Committed by GitHub
Browse files

fix formatting CIRCLECI_TAG when building docs (#1915)

parent ec4837dc
...@@ -651,7 +651,8 @@ jobs: ...@@ -651,7 +651,8 @@ jobs:
# Don't use "checkout" step since it uses ssh, which cannot git push # Don't use "checkout" step since it uses ssh, which cannot git push
# https://circleci.com/docs/2.0/configuration-reference/#checkout # https://circleci.com/docs/2.0/configuration-reference/#checkout
set -ex set -ex
tag=${CIRCLE_TAG:1:5} # turn v1.12.0rc3 into 1.12.0
tag=$(echo $CIRCLE_TAG | sed -e 's/v*\([0-9.]*\).*/\1/')
target=${tag:-main} target=${tag:-main}
~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target ~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target
......
...@@ -651,7 +651,8 @@ jobs: ...@@ -651,7 +651,8 @@ jobs:
# Don't use "checkout" step since it uses ssh, which cannot git push # Don't use "checkout" step since it uses ssh, which cannot git push
# https://circleci.com/docs/2.0/configuration-reference/#checkout # https://circleci.com/docs/2.0/configuration-reference/#checkout
set -ex set -ex
tag=${CIRCLE_TAG:1:5} # turn v1.12.0rc3 into 1.12.0
tag=$(echo $CIRCLE_TAG | sed -e 's/v*\([0-9.]*\).*/\1/')
target=${tag:-main} target=${tag:-main}
~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target ~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment