Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
31dbb754
Unverified
Commit
31dbb754
authored
Oct 22, 2021
by
Matti Picus
Committed by
GitHub
Oct 21, 2021
Browse files
fix formatting CIRCLECI_TAG when building docs (#1915)
parent
ec4837dc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
.circleci/config.yml
.circleci/config.yml
+2
-1
.circleci/config.yml.in
.circleci/config.yml.in
+2
-1
No files found.
.circleci/config.yml
View file @
31dbb754
...
@@ -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
...
...
.circleci/config.yml.in
View file @
31dbb754
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment