diff --git a/README.md b/README.md index 5f5383b0e6f37a3b1328407820476986211fa97c..fea87e60a37d0221e210e212476c9403d6e167b6 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,8 @@ After `Running command 'yunohost app setting vpnclient login_passphrase -v "xxxx Failed to open /dev/tty: No such device or address It doesn't prevent the script from running. + +# Publish a new version of the app + +- edit the [upgrade](scripts/upgrade) script to bump the version +- update the `revision` with the current `sha` on the `master` branch, update the `lastUpdate` field in the [apps.json](https://neutrinet.be/apps.json) file diff --git a/scripts/upgrade b/scripts/upgrade index c5ae14c002287c50b8d536a87a0816ebdd4713c5..295ad4037f07c8184962fc8bea919451b389175b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,3 +40,9 @@ EOF sudo chown root:root /etc/cron.daily/neutrinet-renew-cert sudo chmod 0755 /etc/cron.daily/neutrinet-renew-cert fi + +# 0.2.2 -> 0.2.3 +if [[ "$version" == "0.2.2" ]]; then + sudo yunohost app setting neutrinet version -v "0.2.3" + version="0.2.3" +fi diff --git a/sources/index.html b/sources/index.html index 4713c9cb355011edde472ea66f9fb40371589fc6..cc0f612e39518b7e3b00e4e08c7ed0887657beee 100644 --- a/sources/index.html +++ b/sources/index.html @@ -22,7 +22,7 @@