Skip to content

Commit

Permalink
v10.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
j3k0 committed Dec 12, 2019
1 parent d41d055 commit 2616453
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-purchase",
"version": "10.0.0",
"version": "10.0.1",
"description": "Cordova Purchase plugin for iOS, Android, Windows (AppStore, Play, UWP)",
"cordova": {
"id": "cordova-plugin-purchase",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SOFTWARE.
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-purchase"
xmlns:android="http://schemas.android.com/apk/res/android"
version="10.0.0">
version="10.0.1">

<name>Purchase</name>
<description>Cordova Purchase plugin for iOS (AppStore), Android (PlayStore) and Windows</description>
Expand Down
1 change: 1 addition & 0 deletions src/js/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,3 +361,4 @@ store.getGroup = function(groupId) {
// #include "utils.js"
// #include "polyfills.js"

store.version = '10.0.1';
15 changes: 10 additions & 5 deletions versions
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@ set -e
VP="$(cat package.json | grep '"version"' | head -1 | cut -d\" -f4)"
VPL="$(cat package-lock.json | grep '"version"' | head -1 | cut -d\" -f4)"
VPP="$(cat plugin.xml | grep -E '^[ ]+version="' | head -1 | cut -d \" -f2)"
VJ="$(cat src/js/store.js | grep -E "^store.version = '" | head -1 | cut -d \' -f2)"

if [ "x$VP" = "x$VPL" ] && [ "x$VP" = "x$VPP" ]; then
echo
echo " package-lock.json: $VP"
echo " package.json: $VPL"
echo " plugin.xml: $VPP"
echo " src/js/store.js: $VJ"
echo

if [ "x$VP" = "x$VPL" ] && [ "x$VP" = "x$VPP" ] && [ "x$VP" = "x$VJ" ]; then
echo "All version numbers match: $VP"
else
echo "Version numbers mismatch:"
echo " package-lock.json: $VP"
echo " package.json: $VPL"
echo " plugin.xml: $VPP"
echo "VERSION NUMBERS MISMATCH"
exit 1
fi

0 comments on commit 2616453

Please sign in to comment.