Skip to content

Commit 343b25e

Browse files
authored
Fix wrong link (#566)
* Fix wrong link. * Tweak a bit.
1 parent 88f9442 commit 343b25e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PermissionsDispatcher [![Build Status](https://travis-ci.org/permissions-dispatcher/PermissionsDispatcher.svg?branch=master)](https://travis-ci.org/permissions-dispatcher/PermissionsDispatcher)
22

3-
- [**Kotlin support**](https://github.com/hotchemi/PermissionsDispatcher/blob/master/doc/kotlin_support.md)
3+
- [**Kotlin support**](https://github.com/hotchemi/PermissionsDispatcher/blob/master/doc/kotlin_usage.md)
44
- [**Special Permissions support**](https://github.com/hotchemi/PermissionsDispatcher/blob/master/doc/special_permissions.md)
55
- **100% reflection-free**
66

scripts/push-to-github-io.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ commit_and_push_changes() {
1414
&& git push --quiet --force "${repoUrl}" "$1"
1515
}
1616

17-
if [ "$TRAVIS_BRANCH" != "master" ] || [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
18-
echo "Skip updating gitbook: branch is not master or the build was triggered by pull request."
19-
exit 0;
17+
if [[ "$TRAVIS_BRANCH" != "master" ]] || [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
18+
echo "Skip updating gitbook: branch is not master or build was triggered by pull request."
19+
exit 0
2020
fi
2121

2222
echo "Decrypt deploy key"
@@ -39,7 +39,7 @@ echo "Build HTML"
3939
gitbook build
4040

4141
echo "Copy files"
42-
cp -Rf "${distDir}/doc"* "${distDir}/gitbook"* "${distDir}/*.html" "${distDir}/search_index.json" "${repoName}"
42+
cp -Rf "${distDir}/doc"* "${distDir}/gitbook"* "${distDir}/index.html" "${distDir}/CHANGELOG.html" "${distDir}/search_index.json" "${repoName}"
4343

4444
echo "Commit and push"
4545
cd "${repoName}"

0 commit comments

Comments
 (0)