Skip to content

Commit

Permalink
Bug #111922 chore: Release script and installation version changes (#35)
Browse files Browse the repository at this point in the history
* Bug #111922 chore: Release script and installation version changes

* Bug #111922 chore: Release script and installation version changes
  • Loading branch information
pranotiTechjoomla authored and manojLondhe committed Nov 16, 2018
1 parent cec1f8b commit 303d2cb
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
8 changes: 4 additions & 4 deletions build/bump.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ function usage($command)

// This file will vary from component to component
$coreXmlFiles = array(
'/com_hierarchy/hierarchy.xml',
'/com_hierarchy/plugins/actionlog/hierarchy/hierarchy.xml',
'/com_hierarchy/plugins/privacy/hierarchy/hierarchy.xml'
'/hierarchy.xml',
'/plugins/actionlog/hierarchy/hierarchy.xml',
'/plugins/privacy/hierarchy/hierarchy.xml'
);

$antJobFile = '/build.xml';
Expand Down Expand Up @@ -245,7 +245,7 @@ function usage($command)
{
if (file_exists($rootPath . $coreXmlFile))
{
// @echo 'Processed xml file: ' .$rootPath . $coreXmlFile . PHP_EOL;
// echo 'Processed xml file: ' .$rootPath . $coreXmlFile . PHP_EOL;

$fileContents = file_get_contents($rootPath . $coreXmlFile);

Expand Down
12 changes: 6 additions & 6 deletions hierarchy.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.0" method="upgrade">
<name>com_hierarchy</name>
<creationDate>24th November 2017</creationDate>
<copyright>Copyright (C) 2015. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<creationDate>16th Nov 2018</creationDate>
<copyright>Copyright (C) 2016 - 2018 Techjoomla. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<author>Techjoomla</author>
<authorEmail>contact@techjoomla.com</authorEmail>
<authorUrl>http://techjoomla.com</authorUrl>
<version>1.1</version>
<authorEmail>extensions@techjoomla.com</authorEmail>
<authorUrl>https://techjoomla.com</authorUrl>
<version>1.1.1</version>
<description>This tool will let the admin set a ‘Reports to’ field for each user in the system. This will be updated en masse using a CSV</description>

<install> <!-- Runs on install -->
Expand Down
14 changes: 7 additions & 7 deletions plugins/actionlog/hierarchy/hierarchy.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,31 @@
/**
* Hierarchy Actions Logging Plugin.
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
class PlgActionlogHierarchy extends CMSPlugin
{
/**
* Application object.
*
* @var JApplicationCms
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
protected $app;

/**
* Database object.
*
* @var JDatabaseDriver
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
protected $db;

/**
* Load plugin language file automatically so that it can be used inside component
*
* @var boolean
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
protected $autoloadLanguage = true;

Expand All @@ -60,7 +60,7 @@ class PlgActionlogHierarchy extends CMSPlugin
*
* @return void
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
protected function addLog($messages, $messageLanguageKey, $context, $userId = null)
{
Expand All @@ -79,7 +79,7 @@ protected function addLog($messages, $messageLanguageKey, $context, $userId = nu
*
* @return void
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
public function hierarchyOnAfterSaveHierarchy($data, $isNew)
{
Expand Down Expand Up @@ -118,7 +118,7 @@ public function hierarchyOnAfterSaveHierarchy($data, $isNew)
*
* @return void
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
public function hierarchyOnAfterDeleteHierarchy($data)
{
Expand Down
6 changes: 3 additions & 3 deletions plugins/actionlog/hierarchy/hierarchy.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.4" type="plugin" group="actionlog" method="upgrade">
<name>plg_actionlog_hierarchy</name>
<version>__DEPLOY_VERSION__</version>
<creationDate>__RELEASE_DATE__</creationDate>
<version>1.1.1</version>
<creationDate>16th Nov 2018</creationDate>
<author>Techjoomla</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://techjoomla.com</authorUrl>
<copyright>Copyright (c) 2009-2018 Techjoomla. All rights reserved.</copyright>
<copyright>Copyright (C) 2016 - 2018 Techjoomla. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<description>PLG_ACTIONLOG_HIERARCHY_XML_DESCRIPTION</description>
<files>
Expand Down
14 changes: 7 additions & 7 deletions plugins/privacy/hierarchy/hierarchy.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* Hierarchy Privacy Plugin.
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
class PlgPrivacyHierarchy extends PrivacyPlugin
{
Expand All @@ -31,15 +31,15 @@ class PlgPrivacyHierarchy extends PrivacyPlugin
*
* @var boolean
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
protected $autoloadLanguage = true;

/**
* Database object
*
* @var JDatabaseDriver
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
protected $db;

Expand All @@ -55,7 +55,7 @@ class PlgPrivacyHierarchy extends PrivacyPlugin
*
* @return PrivacyExportDomain[]
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
public function onPrivacyExportRequest(PrivacyTableRequest $request, JUser $user = null)
{
Expand All @@ -81,7 +81,7 @@ public function onPrivacyExportRequest(PrivacyTableRequest $request, JUser $user
*
* @return PrivacyExportDomain
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
private function createHierarchyUsers(JTableUser $user)
{
Expand Down Expand Up @@ -118,7 +118,7 @@ private function createHierarchyUsers(JTableUser $user)
*
* @return PrivacyRemovalStatus
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
public function onPrivacyCanRemoveData(PrivacyTableRequest $request, JUser $user = null)
{
Expand All @@ -140,7 +140,7 @@ public function onPrivacyCanRemoveData(PrivacyTableRequest $request, JUser $user
*
* @return void
*
* @since __DEPLOY_VERSION__
* @since 1.1.1
*/
public function onPrivacyRemoveData(PrivacyTableRequest $request, JUser $user = null)
{
Expand Down
6 changes: 3 additions & 3 deletions plugins/privacy/hierarchy/hierarchy.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.4" type="plugin" group="privacy" method="upgrade">
<name>plg_privacy_hierarchy</name>
<version>__DEPLOY_VERSION__</version>
<creationDate>__RELEASE_DATE__</creationDate>
<version>1.1.1</version>
<creationDate>16th Nov 2018</creationDate>
<author>Techjoomla</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://techjoomla.com</authorUrl>
<copyright>Copyright (c) 2009-2018 Techjoomla. All rights reserved.</copyright>
<copyright>Copyright (C) 2016 - 2018 Techjoomla. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<description>PLG_PRIVACY_HIERARCHY_XML_DESCRIPTION</description>
<files>
Expand Down

0 comments on commit 303d2cb

Please sign in to comment.