Skip to content

Commit

Permalink
Bump/3.0.6 (#110)
Browse files Browse the repository at this point in the history
* fixes docs deploy trigger

* Adds missing javadoc

* Version 3.0.6

* adds space

* fixes build
  • Loading branch information
vegaro authored Feb 17, 2020
1 parent 62195ce commit 806c798
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .buildscripts/deploy_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ elif [ "$CIRCLE_JDK_VERSION" != "$JDK" ]; then
else
echo "Deploying snapshot..."
./gradlew androidSourcesJar androidJavadocsJar uploadArchives -P signing.keyId=$GPG_SIGNING_KEY_ID -Psigning.password=$GPG_SIGNING_KEY_PW -Psigning.secretKeyRingFile=./secring.gpg \
-PSONATYPE_NEXUS_USERNAME=$SONATYPE_NEXUS_USERNAME -PSONATYPE_NEXUS_PASSWORD=$SONATYPE_NEXUS_PASSWORD
-PSONATYPE_NEXUS_USERNAME=$SONATYPE_NEXUS_USERNAME -PSONATYPE_NEXUS_PASSWORD=$SONATYPE_NEXUS_PASSWORD -PRELEASE_SIGNING_ENABLED=true
echo "Snapshot deployed!"
fi
10 changes: 4 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,9 @@ workflows:
filters:
branches:
only: master
- docs-approval:
type: approval
- docs-deploy:
filters:
tags:
only: /^(\d+\.)(\d+\.)(\d+)$/
branches:
only: master
- docs-deploy:
requires:
- docs-approval
ignore: /.*/
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.6

- Added new method to invalidate the purchaser info cache, useful when promotional purchases are granted from outside the app. #109

## 3.0.5

- Fixes compatibility with AppsFlyer SDK https://github.com/RevenueCat/purchases-android/pull/97
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.9.0-SNAPSHOT'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.9.0'
classpath 'com.android.tools.build:gradle:3.5.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.10.0"
Expand Down
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GROUP=com.revenuecat.purchases

VERSION_NAME=3.1.0-SNAPSHOT
VERSION_NAME=3.0.6

POM_DESCRIPTION=Mobile subscriptions in hours, not months.
POM_URL=https://github.com/RevenueCat/purchases-android
Expand All @@ -20,3 +20,6 @@ android.useAndroidX=true
android.enableJetifier=true
android.enableR8 = false
android.enableR8.libraries = false

#Do not sign releases. When calling uploadArchives pass -PRELEASE_SIGNING_ENABLED=true
RELEASE_SIGNING_ENABLED=false
2 changes: 1 addition & 1 deletion purchases/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
minSdkVersion 14
targetSdkVersion 28
versionCode 1
versionName "3.1.0-SNAPSHOT"
versionName "3.0.6"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-proguard-rules.pro'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,11 @@ class Purchases @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE) intern
this.updatedPurchaserInfoListener = null
}

/**
* Invalidates the cache for purchaser information.
* This is useful for cases where purchaser information might have been updated outside of the
* app, like if a promotional subscription is granted through the RevenueCat dashboard.
*/
fun invalidatePurchaserInfoCache() {
debugLog("Invalidating Purchaser info cache")
deviceCache.clearPurchaserInfoCacheTimestamp()
Expand Down Expand Up @@ -1082,7 +1087,7 @@ class Purchases @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE) intern
* Current version of the Purchases SDK
*/
@JvmStatic
val frameworkVersion = "3.1.0-SNAPSHOT"
val frameworkVersion = "3.0.6"

/**
* Configures an instance of the Purchases SDK with a specified API key. The instance will
Expand Down

0 comments on commit 806c798

Please sign in to comment.