Skip to content

Commit

Permalink
Adds assembleRelease step to circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro committed Aug 21, 2019
1 parent fc2d498 commit 2175c09
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,29 @@ jobs:
command: |
.buildscripts/deploy_snapshot.sh
release-builds:
executor: android-executor
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "purchases/build.gradle" }}
- run:
name: Accept licenses
command: yes | sdkmanager --licenses || true
- run:
name: Build
command: ./gradlew assembleRelease
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "purchases/build.gradle" }}

workflows:
version: 2
build-deploy-docs:
jobs:
- build
- release-builds
- deploy:
requires:
- build
Expand Down
2 changes: 0 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Releasing
=========

1. Run `gradle assembleRelease` in the `purchases-sample` folder.
1. Change the version in `gradle.properties` to a non-SNAPSHOT version.
1. Change the version number in `Purchases.kt`
1. Change the versionName in `purchases/build.gradle`.
Expand Down

0 comments on commit 2175c09

Please sign in to comment.