Version 1.0.3

This commit is contained in:
Adrian Kuta 2020-01-09 20:01:59 +01:00
parent 57a18b0013
commit 566163a622

View File

@ -54,12 +54,19 @@ jobs:
- restore_cache: - restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run: - run:
name: Build Library
command: ./gradlew :treedatastructure:assembleRelease
- run:
name: Export key
command: | command: |
mkdir treedatastructure/maven mkdir treedatastructure/maven
echo ${GPG_KEY_CONTENTS} | base64 -d --ignore-garbage > treedatastructure/maven/secret.gpg echo ${GPG_KEY_CONTENTS} | base64 -d --ignore-garbage > treedatastructure/maven/secret.gpg
- run: - run:
name: Staging name: Staging
command: ./gradlew :treedatastructure:publishReleasePublicationToSonatypeRepository command: ./gradlew :treedatastructure:publishReleasePublicationToSonatypeRepository
- run:
name: Release Library
command: ./gradlew closeAndReleaseRepository
workflows: workflows:
version: 2.1 version: 2.1