diff --git a/documentation/Releasing.md b/documentation/Releasing.md index e10ede1fe..d2181c1a7 100644 --- a/documentation/Releasing.md +++ b/documentation/Releasing.md @@ -9,6 +9,12 @@ In order to know what has changed, you can view the [commits](https://github.com For general guidance on writing a changelog, see [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## Update CSS Version +Changes to the styling will sometimes not be visible due to caching. To prevent this, the CSS must be versioned. + +If any changes have been made to admin.css for this release: +Change version in `wp_enqueue_style('onoffice-admin-css', plugins_url('/css/admin.css', ONOFFICE_PLUGIN_DIR.'/index.php'), array(), 'v4.20');` in `AdminViewController.php"` + ## Development release 1. Go to https://github.com/onOfficeGmbH/oo-wp-plugin/actions/workflows/development-release.yml. @@ -45,6 +51,13 @@ For general guidance on writing a changelog, see [Keep a Changelog](https://keep 2. Remove the tag from GitHub with `git push origin :v3.2`. (Only users with admin access to the repository can do this.) 3. Re-add a tag by redoing step 3. +## Update release Branch + +To be able to fix any critical problems anytime in current stable version, we update release branch on every release. + +1. Merge master into release. +2. Push changes to release. + ## Environment To push to the WordPress SVN you need to authenticate as the WordPress user @onofficeweb. We use a GitHub [environment](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment) to store the credentials as secrets. diff --git a/plugin.php b/plugin.php index d0271ecb3..ecc2ce3b2 100644 --- a/plugin.php +++ b/plugin.php @@ -25,7 +25,7 @@ Author: onOffice GmbH Author URI: https://en.onoffice.com/ Description: Your connection to onOffice: This plugin enables you to have quick access to estates and forms – no additional sync with the software is needed. Consult support@onoffice.de for source code. -Version: 4.19 +Version: 4.20 License: AGPL 3+ License URI: https://www.gnu.org/licenses/agpl-3.0 Text Domain: onoffice-for-wp-websites diff --git a/readme.txt b/readme.txt index 5112bf732..e1505acc8 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: real estate, onoffice Requires at least: 4.6 Tested up to: 6.4.3 Requires PHP: 7.3 -Stable tag: 4.19 +Stable tag: 4.20 License: AGPL 3.0 License URI: https://www.gnu.org/licenses/agpl-3.0.html @@ -76,7 +76,7 @@ Start editing inside the `onoffice-personalized` folder. == Changelog == -= 4.20 (2024-06-18) = += 4.20 (2024-06-26) = **Added**