Skip to content

Commit

Permalink
beta tag doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchunqiang committed Jan 15, 2019
1 parent 93a55ac commit 2ab0036
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .circleci/config.yml
Expand Up @@ -200,7 +200,15 @@ jobs:
command: |
git config --local user.name "${GITHUB_USER}"
git checkout gh-pages
git tag -a "docs_v$release_version" -m "Add documentation tags to version $release_version"
if [ "$release_type" == "release" ]
then
git tag -a "docs_v$release_version" -m "Add documentation tags to version $release_version"
else
git tag -a "beta_docs_v$release_version" -m "Add documentation tags to version $release_version"
fi
git push --tags -q https://${GITHUB_TOKEN}@github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}.git
release_maven:
Expand Down Expand Up @@ -400,8 +408,8 @@ workflows:
only: /^(release|beta)_v[0-9]+.[0-9]+.[0-9]+$/

- release_tag:
requires:
- release_s3
# requires:
# - release_s3
filters:
branches:
ignore: /.*/
Expand Down

0 comments on commit 2ab0036

Please sign in to comment.