Skip to content

Commit

Permalink
travis/appveyor: publish dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
msink committed Nov 28, 2018
1 parent d5d9c05 commit fd51262
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ build_script:
- gradlew -PpublishMode build

after_build:
- gradlew -PpublishMode bintrayUpload
- if %APPVEYOR_REPO_TAG%==true ( gradlew -PpublishMode bintrayUpload )
else ( gradlew -PpublishMode -PVERSION_SUFFIX=-dev bintrayUpload )
- copy libui\build\classes\kotlin\windows\main\libui-cinterop-libui.klib libui-windows.klib
- copy libui\build\classes\kotlin\windows\main\libui.klib libui-ktx-windows.klib
- 7z a libui-samples-windows.zip
Expand Down
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ script:
- ./gradlew -PpublishMode build

after_success:
- ./gradlew -PpublishMode bintrayUpload
- |
if [[ "x${TRAVIS_TAG}" != "x" ]]
then
./gradlew -PpublishMode bintrayUpload
else
./gradlew -PpublishMode -PVERSION_SUFFIX=-dev bintrayUpload
fi
- |
case "${TRAVIS_OS_NAME}" in
osx) export TARGET=macosx ;;
Expand Down
2 changes: 1 addition & 1 deletion libui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'

group = GROUP
version = VERSION
version = "${VERSION}${VERSION_SUFFIX}"

task downloadArchive(type: Download) {
def release = "https://github.com/andlabs/libui/releases/download/$LIBUI_VERSION/libui-$LIBUI_VERSION"
Expand Down

0 comments on commit fd51262

Please sign in to comment.