From 3db120921493011caba52a75c82c533df9701d0d Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Wed, 25 May 2022 15:07:41 +0200
Subject: [PATCH] Bumped version and Android publish documentation

---
 README.md    | 26 ++++++++++++++++++++++++++
 config.xml   |  2 +-
 package.json |  2 +-
 3 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 8599c37..9282396 100644
--- a/README.md
+++ b/README.md
@@ -156,6 +156,32 @@ emulator -avd Pixel_3a_API_30_x86 -wipe-data
 Replace your emulator name with the example above
 
 ## Android publishing
+Before building, signing and publishing, make sure you bump the version in `package.json`
+
+```json
+{
+  "name": "vipsobservationapp",
+  "version": "0.9.7",
+  "private": true,
+  "description": "The Field Pest Observation App for VIPS users",
+  "author": "Tor-Einar Skog <tor-einar.skog@nibio.no>",
+  "scripts": {
+    "build": "node build/build.js",
+    "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
+    "i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'",
+    "start": "npm run dev"
+  },
+```
+...and in config.xml
+
+```xml
+<?xml version='1.0' encoding='utf-8'?>
+<widget id="no.nibio.vips.observation" version="0.9.7"
+	xmlns="http://www.w3.org/ns/widgets"
+	xmlns:android="http://schemas.android.com/apk/res/android"
+	xmlns:cdv="http://cordova.apache.org/ns/1.0">
+```
+
 ### Notes and docs
 
 [Developer account for Google Play](https://play.google.com/console/)
diff --git a/config.xml b/config.xml
index c44ee1f..9d8bf1c 100644
--- a/config.xml
+++ b/config.xml
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='utf-8'?>
-<widget id="no.nibio.vips.observation" version="0.9.6"
+<widget id="no.nibio.vips.observation" version="0.9.7"
 	xmlns="http://www.w3.org/ns/widgets"
 	xmlns:android="http://schemas.android.com/apk/res/android"
 	xmlns:cdv="http://cordova.apache.org/ns/1.0">
diff --git a/package.json b/package.json
index 50f4c9a..0831016 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vipsobservationapp",
-  "version": "0.9.6",
+  "version": "0.9.7",
   "private": true,
   "description": "The Field Pest Observation App for VIPS users",
   "author": "Tor-Einar Skog <tor-einar.skog@nibio.no>",
-- 
GitLab