From b4b125d750d52c715f458985a2d58c90365ae988 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Sun, 16 Feb 2020 23:55:25 -0600 Subject: [PATCH] Update package version to 0.8.0 --- api/personal_measure_api.nimble | 2 +- api/src/main/nim/personal_measure_apipkg/version.nim | 2 +- operations/update-version.sh | 6 +++++- web/package-lock.json | 2 +- web/package.json | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/api/personal_measure_api.nimble b/api/personal_measure_api.nimble index a8a3813..776b35e 100644 --- a/api/personal_measure_api.nimble +++ b/api/personal_measure_api.nimble @@ -2,7 +2,7 @@ include "src/main/nim/personal_measure_apipkg/version.nim" -version = PM_API_VERSION +version = "0.8.0" author = "Jonathan Bernard" description = "JDB\'s Personal Measures API" license = "MIT" diff --git a/api/src/main/nim/personal_measure_apipkg/version.nim b/api/src/main/nim/personal_measure_apipkg/version.nim index bd7c1ed..871f8d9 100644 --- a/api/src/main/nim/personal_measure_apipkg/version.nim +++ b/api/src/main/nim/personal_measure_apipkg/version.nim @@ -1 +1 @@ -const PM_API_VERSION* = "0.7.0" +const PM_API_VERSION* = "0.8.0" diff --git a/operations/update-version.sh b/operations/update-version.sh index 166b55d..d6e3e1d 100755 --- a/operations/update-version.sh +++ b/operations/update-version.sh @@ -47,9 +47,13 @@ printf ">> Updating /api/src/main/nim/personal_measure_apipkg/version.nim with P printf "sed -i \"s/%s/%s/\" api/src/main/nim/personal_measure_apipkg/version.nim" "$lastVersion" "$newVersion" sed -i "s/${lastVersion}/${newVersion}/" api/src/main/nim/personal_measure_apipkg/version.nim +printf ">> Updating /api/personal_measure_api.nimble with version = \"%s\"" "$newVersion" +printf "sed -i \"s/%s/%s/\" api/personal_measure_api.nimble" "$lastVersion" "$newVersion" +sed -i "s/${lastVersion}/${newVersion}/" api/personal_measure_api.nimble + printf ">> Committing new version.\n" printf "git add web/package.json web/package-lock.json api/src/main/nim/personal_measure_apipkg/version.nim" -git add web/package.json web/package-lock.json api/src/main/nim/personal_measure_apipkg/version.nim +git add web/package.json web/package-lock.json api/src/main/nim/personal_measure_apipkg/version.nim api/personal_measure_api.nimble printf "git commit -m \"Update package version to %s\"\n" "$newVersion" git commit -m "Update package version to ${newVersion}" diff --git a/web/package-lock.json b/web/package-lock.json index c05ba21..9a22bd6 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,6 +1,6 @@ { "name": "personal-measure-web", - "version": "0.7.0", + "version": "0.8.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/web/package.json b/web/package.json index 97bb062..1ac9772 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "personal-measure-web", - "version": "0.7.0", + "version": "0.8.0", "private": true, "scripts": { "serve": "vue-cli-service serve",