Skip to content

Commit

Permalink
Fix mkdocs scripts [ci release docs]
Browse files Browse the repository at this point in the history
  • Loading branch information
pmendelski committed Sep 8, 2020
1 parent afe1cc5 commit 8a91bbe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .scripts/travis/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ if [[ "$RELEASE" == "AUTO" ]]; then
if echo "$TRAVIS_COMMIT_MESSAGE" | grep -P -q '^.*\[ *ci *release *skip *\].*$'; then
echo "Exiting release: Commit message contains release skip command"
exit 0
elif echo "$TRAVIS_COMMIT_MESSAGE" | grep -P -q '^.*\[ *ci *release *docs *\].*$'; then
RELEASE="DOCS"
elif echo "$TRAVIS_COMMIT_MESSAGE" | grep -P -q '^.*\[ *ci *release *snapshot *\].*$'; then
RELEASE="SNAPSHOT"
elif echo "$TRAVIS_COMMIT_MESSAGE" | grep -P -q '^.*\[ *ci *release *\].*$'; then
Expand Down Expand Up @@ -50,6 +52,8 @@ trap cleanup EXIT INT TERM

git config --local user.name "Coditory CI"
git config --local user.email "ci@coditory.com"
git config --local user.signingkey 3943560B44D0A440
git config --local commit.gpgsign true
git checkout "$TRAVIS_BRANCH" > /dev/null 2>&1

.scripts/release.sh "$RELEASE"
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ addons:
- python3
- python3-pip
- python3-setuptools
- python3-wheel

branches:
except:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Build Status](https://travis-ci.org/coditory/sherlock-distributed-lock.svg?branch=master)](https://travis-ci.org/coditory/sherlock-distributed-lock)
[![Coverage Status](https://coveralls.io/repos/github/coditory/sherlock-distributed-lock/badge.svg)](https://coveralls.io/github/coditory/sherlock-distributed-lock)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.coditory.sherlock/sherlock-api-sync/badge.svg)](https://search.maven.org/search?q=com.coditory.sherlock)
[![JavaDoc](http://www.javadoc.io/badge/com.coditory.sherlock/sherlock-api-sync.svg)](http://www.javadoc.io/doc/com.coditory.sherlock/sherlock-api-sync)
[![JavaDoc](https://www.javadoc.io/badge/com.coditory.sherlock/sherlock-api-sync.svg)](http://www.javadoc.io/doc/com.coditory.sherlock/sherlock-api-sync)
[![Join the chat at https://gitter.im/coditory/sherlock-distributed-lock](https://badges.gitter.im/coditory/sherlock-distributed-lock.svg)](https://gitter.im/coditory/sherlock-distributed-lock?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

<div style="text-align: center">
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ mkdocs-minify-plugin>=0.3
mkdocs-material>=5
mkdocs-markdownextradata-plugin>=0.1.7
Pygments>=2.6
pymdown-extensions>=8
wheel >= 0.35.1
pymdown-extensions>=8

0 comments on commit 8a91bbe

Please sign in to comment.