Skip to content

Commit

Permalink
ci release build
Browse files Browse the repository at this point in the history
  • Loading branch information
msink committed Nov 28, 2018
1 parent 8ebc24c commit e5dda4b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ build_script:
- gradlew -PpublishMode build

after_build:
- if %APPVEYOR_REPO_TAG%==true ( gradlew -PpublishMode bintrayUpload )
else ( gradlew -PpublishMode -PVERSION_SUFFIX=-dev bintrayUpload )
- if %APPVEYOR_REPO_TAG%==true ( gradlew -PpublishMode -PVERSION_SUFFIX bintrayUpload )
else ( gradlew -PpublishMode 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
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ after_success:
- |
if [[ "x${TRAVIS_TAG}" != "x" ]]
then
./gradlew -PpublishMode bintrayUpload
./gradlew -PpublishMode -PVERSION_SUFFIX bintrayUpload
else
./gradlew -PpublishMode -PVERSION_SUFFIX=-dev bintrayUpload
./gradlew -PpublishMode bintrayUpload
fi
- |
case "${TRAVIS_OS_NAME}" in
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kotlin.code.style=official
LIBUI_VERSION=alpha4.1

GROUP=com.github.msink
VERSION=0.1.0
VERSION_SUFFIX=
VERSION_NAME=0.1.0
VERSION_SUFFIX=-dev

POM_SCM_URL=https://github.com/msink/kotlin-libui
POM_SCM_CONNECTION=scm:git:https://github.com/msink/kotlin-libui.git
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_SUFFIX}"
version = "${VERSION_NAME}${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 e5dda4b

Please sign in to comment.