summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appinfo/app.php6
-rw-r--r--appinfo/info.xml1
-rw-r--r--appinfo/version2
3 files changed, 7 insertions, 2 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index e5ffadef9..d045ea766 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -55,6 +55,12 @@ if(\OCP\App::isEnabled('appframework')){
$api->addRegularTask('OCA\News\Backgroundjob\Task', 'run');
+ // TODO: remove this after the release after the next release
+ // this is done to help users upgrade properly from the beta
+ if($api->getAppValue('installed_version') === '8.4') {
+ $api->setAppValue('installed_version', '0.96');
+ }
+
} else {
$msg = 'Can not enable the News app because the App Framework App is disabled';
\OCP\Util::writeLog('news', $msg, \OCP\Util::ERROR);
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 4a2ea4ca4..93d88a075 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -4,7 +4,6 @@
<name>News</name>
<description>An RSS/Atom feed reader. Requires the App Framework app and backgroundjobs need to be enabled. See the README.rst in the apps top directory</description>
<licence>AGPL</licence>
- <version>0.95</version>
<author>Alessandro Cosentino, Bernhard Posselt, Jan-Christoph Borchardt. Powered by SimplePie (Ryan Parman, Geoffrey Sneddon, Ryan McCue and contributors).</author>
<require>5.0.5</require>
</info>
diff --git a/appinfo/version b/appinfo/version
index fad030004..9e785baf3 100644
--- a/appinfo/version
+++ b/appinfo/version
@@ -1 +1 @@
-8.4 \ No newline at end of file
+0.96 \ No newline at end of file