Skip to content

Commit

Permalink
Hotfix/3.0.x upgrade bug ChurchCRM#4180 (ChurchCRM#4183)
Browse files Browse the repository at this point in the history
* fix upgrade method rename

* starting 3.0.2 and fix upgrade

* starting 3.0.2
  • Loading branch information
DawoudIO authored Mar 30, 2018
1 parent 0bae75c commit fd26442
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion demo/ChurchCRM-Database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ CREATE TABLE `version_ver` (
LOCK TABLES `version_ver` WRITE;
/*!40000 ALTER TABLE `version_ver` DISABLE KEYS */;
SET autocommit=0;
INSERT INTO `version_ver` VALUES (1,'2.4.0','2016-11-19 20:14:23',NULL),(2,'2.5.0','2017-01-15 19:40:28','2017-01-15 19:40:28'),(3,'2.6.0','2017-02-11 13:15:10','2017-02-11 13:15:10'),(4,'2.7.0','2017-04-15 17:17:37','2017-04-15 17:17:37'),(5,'2.8.0','2017-07-16 16:34:11','2017-07-16 16:34:11'),(6,'2.8.6','2017-07-16 16:34:11','2017-07-16 16:34:11'),(7,'2.9.0','2017-12-03 18:26:20','2017-12-03 18:26:20'),(8,'2.9.1','2017-12-03 18:26:20','2017-12-03 18:26:20'),(9,'2.9.2','2017-12-03 18:26:20','2017-12-03 22:26:20'),(10,'2.9.3','2017-12-18 00:42:32','2017-12-18 00:42:32'),(11,'2.9.4','2017-12-25 14:19:34','2017-12-25 14:19:34'),(12,'2.10.0','2018-01-01 19:25:33','2018-01-01 19:25:33'),(13,'2.10.1','2018-01-04 23:07:32','2018-01-04 23:07:32'),(14,'2.10.4','2018-01-05 10:38:06','2018-01-05 10:38:06'),(15,'3.0.0','2018-02-17 20:29:42','2018-02-17 20:29:42'),(16,'3.0.1','2018-03-15 20:29:42','2018-03-15 20:29:42');
INSERT INTO `version_ver` VALUES (1,'2.4.0','2016-11-19 20:14:23',NULL),(2,'2.5.0','2017-01-15 19:40:28','2017-01-15 19:40:28'),(3,'2.6.0','2017-02-11 13:15:10','2017-02-11 13:15:10'),(4,'2.7.0','2017-04-15 17:17:37','2017-04-15 17:17:37'),(5,'2.8.0','2017-07-16 16:34:11','2017-07-16 16:34:11'),(6,'2.8.6','2017-07-16 16:34:11','2017-07-16 16:34:11'),(7,'2.9.0','2017-12-03 18:26:20','2017-12-03 18:26:20'),(8,'2.9.1','2017-12-03 18:26:20','2017-12-03 18:26:20'),(9,'2.9.2','2017-12-03 18:26:20','2017-12-03 22:26:20'),(10,'2.9.3','2017-12-18 00:42:32','2017-12-18 00:42:32'),(11,'2.9.4','2017-12-25 14:19:34','2017-12-25 14:19:34'),(12,'2.10.0','2018-01-01 19:25:33','2018-01-01 19:25:33'),(13,'2.10.1','2018-01-04 23:07:32','2018-01-04 23:07:32'),(14,'2.10.4','2018-01-05 10:38:06','2018-01-05 10:38:06'),(15,'3.0.0','2018-02-17 20:29:42','2018-02-17 20:29:42'),(16,'3.0.2','2018-03-15 20:29:42','2018-03-15 20:29:42');
/*!40000 ALTER TABLE `version_ver` ENABLE KEYS */;
UNLOCK TABLES;
COMMIT;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ChurchCRM",
"version": "3.0.1",
"version": "3.0.2",
"description": "Free Church CRM Software",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/ChurchCRM/Service/SystemService.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public static function runTimerJobs()

public function downloadLatestRelease()
{
$release = $this->getLatestRelese();
$release = $this->getLatestRelease();
$UpgradeDir = SystemURLs::getDocumentRoot() . '/Upgrade';
foreach ($release['assets'] as $asset) {
if ($asset['name'] == "ChurchCRM-" . $release['name'] . ".zip") {
Expand Down
2 changes: 1 addition & 1 deletion src/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ChurchCRM/CRM",
"version": "3.0.1",
"version": "3.0.2",
"type": "project",
"keywords": [
"church",
Expand Down
9 changes: 5 additions & 4 deletions src/mysql/upgrade.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
],
"dbVersion": "2.10.0"
},
"pre-3.0.0": {
"pre-3.0.0": {
"versions": [
"2.10.0",
"2.10.1",
Expand All @@ -186,9 +186,10 @@
},
"current": {
"versions": [
"3.0.0"
"3.0.0",
"3.0.1"
],
"scripts": [],
"dbVersion": "3.0.1"
"dbVersion": "3.0.2"
}
}
}

0 comments on commit fd26442

Please sign in to comment.