Skip to content

Commit

Permalink
Preparing for version 3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro committed Dec 19, 2019
1 parent 1754316 commit bbba865
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.4

- Renames introEligibilityStatus to status in IntroEligibility

## 3.0.3

- Adds `Purchases.checkTrialOrIntroductoryPriceEligibility`. Note that Android always returns INTRO_ELIGIBILITY_STATUS_UNKNOWN.
Expand Down
15 changes: 8 additions & 7 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
1. Update to the latest SDK versions in `build.js`, `RNPurchases.podspec` and `android/build.gradle`.
1. Update versions in VERSIONS.md.
2. Update version in package.json.
3. Add an entry to CHANGELOG.md
4. `git commit -am "Preparing for version x.y.z"`
5. `git tag x.y.z`
6. `git push origin master && git push --tags`
7. Create a new release in github and upload
8. `npm publish`
1. Update version in package.json.
1. Add an entry to CHANGELOG.md
1. Run `npm run build`
1. `git commit -am "Preparing for version x.y.z"`
1. `git tag x.y.z`
1. `git push origin master && git push --tags`
1. Create a new release in github and upload
1. `npm publish`
1 change: 1 addition & 0 deletions VERSIONS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
| Version | iOS version | Android version | Common files version |
|---------|-------------|-----------------|----------------------|
| 3.0.4 | 3.0.1 | 3.0.4 | 1.0.5 |
| 3.0.3 | 3.0.1 | 3.0.4 | 1.0.4 |
| 3.0.2 | 3.0.0 | 3.0.3 | 1.0.3 |
| 3.0.1 | 3.0.0 | 3.0.3 | 1.0.1 |
Expand Down
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (os.type() === "Linux") {
);
downloadProcess.stdout.pipe(process.stdout);
const downloadProcessCommon = exec(
"./scripts/download-purchases-common.sh 1.0.4"
"./scripts/download-purchases-common.sh 1.0.5"
);
downloadProcessCommon.stdout.pipe(process.stdout);
} else if (os.type() === "Windows_NT") {
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ interface IntroEligibility {
/**
* The introductory price eligibility status
*/
readonly introEligibilityStatus: INTRO_ELIGIBILITY_STATUS;
readonly status: INTRO_ELIGIBILITY_STATUS;
/**
* Description of the status
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-purchases",
"title": "React Native Purchases",
"version": "3.0.3",
"version": "3.0.4",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ interface IntroEligibility {
/**
* The introductory price eligibility status
*/
readonly introEligibilityStatus: INTRO_ELIGIBILITY_STATUS;
readonly status: INTRO_ELIGIBILITY_STATUS;
/**
* Description of the status
*/
Expand Down

0 comments on commit bbba865

Please sign in to comment.