Skip to content

Commit c38d0e4

Browse files
committed
ci: Use correct version number for generated javadocs
1 parent 04a295d commit c38d0e4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ replace = {new_version}
1515
search = {current_version}
1616
replace = {new_version}
1717

18+
[bumpversion:file:library/build.gradle]
19+
search = {current_version}
20+
replace = {new_version}

.utility/push-javadoc-to-gh-pages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" ]; then
1010
# on tagged builds, $TRAVIS_BRANCH is the tag (e.g. v1.2.3), otherwise it's the branch name (e.g. master)
1111
rm -rf docs/$TRAVIS_BRANCH
1212
mkdir -p docs/$TRAVIS_BRANCH
13-
cp -rf ../library/build/docs/javadoc/* docs/$TRAVIS_BRANCH
13+
cp -rf ../library/build/docs/javadoc/release/* docs/$TRAVIS_BRANCH
1414
../.utility/generate_index_html.sh > index.html
1515

1616
# update the latest/ symlink

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ android {
2020
minSdkVersion 19
2121
targetSdkVersion 28
2222
versionCode 1
23-
versionName "1.0"
23+
versionName "0.5.1"
2424

2525
ndk {
2626
moduleName "libspeex"

0 commit comments

Comments
 (0)