Skip to content

Commit 3a9ad33

Browse files
Chunqiang SUNminbi
authored andcommitted
Add beta tag for docs (#650)
For beta testing the the documentation tagging, use a beta tag
1 parent bda6f6a commit 3a9ad33

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.circleci/config.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,15 @@ jobs:
200200
command: |
201201
git config --local user.name "${GITHUB_USER}"
202202
git checkout gh-pages
203-
git tag -a "docs_v$release_version" -m "Add documentation tags to version $release_version"
203+
204+
if [ "$release_type" == "release" ]
205+
then
206+
git tag -a "docs_v$release_version" -m "Add documentation tags to version $release_version"
207+
else
208+
git tag -a "beta_docs_v$release_version" -m "Add documentation tags to version $release_version"
209+
fi
210+
211+
204212
git push --tags -q https://${GITHUB_TOKEN}@github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}.git
205213
206214
release_maven:

0 commit comments

Comments
 (0)