From 331933947778c5e2f08222b1759783440082842a Mon Sep 17 00:00:00 2001 From: Gilbert J Requena Date: Sun, 12 Jan 2020 17:18:19 +0100 Subject: [PATCH] Set verstion to 0.1.0 allow gh release on master --- .travis.yml | 5 +---- build.gradle | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 01dec77..f15e4e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,6 @@ after_success: - export VERSION=$(./gradlew properties -q | grep "version:" | awk '{print $2}') - export TAG="v$VERSION" - export LAST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) -stages: - - name: deploy - if: branch = master deploy: provider: releases tag: $TAG @@ -19,7 +16,7 @@ deploy: file: build/libs/* on: repo: gilbertojrequena/bonsai-sns - branch: release + branch: master condition: $VERSION != *"SNAPSHOT" && $LAST_TAG != $TAG env: global: diff --git a/build.gradle b/build.gradle index 1eb7709..39aceb4 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group 'io.github.gilbertojrequena' -version '0.0.1-SNAPSHOT' +version '0.1.0' sourceCompatibility = 1.8