diff --git a/README.md b/README.md index 617e009..6f9d160 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,22 @@ For more details, please check the issue: [#329](https://github.com/slgobinath/S Thirdparty plugins are available at another GitHub repository: [safeeyes-plugins](https://github.com/slgobinath/safeeyes-plugins). More details about how to write your own plugin and how to install third-party plugin are available there. +## How to Release? + +1. Checkout the latest commits from the `master` branch +2. Run `python3 -m safeeyes` to make sure nothing is broken +3. Update the Safe Eyes version in the following places (Open the project in VSCode and search for the current version): + - [setup.py](https://github.com/slgobinath/SafeEyes/blob/master/setup.py#L81) + - [setup.py](https://github.com/slgobinath/SafeEyes/blob/master/setup.py#L88) + - [safeeyes.py](https://github.com/slgobinath/SafeEyes/blob/master/safeeyes/safeeyes.py#L43) + - [io.github.slgobinath.SafeEyes.metainfo.xml](https://github.com/slgobinath/SafeEyes/blob/master/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml#L50) + - [about_dialog.glade](https://github.com/slgobinath/SafeEyes/blob/master/safeeyes/glade/about_dialog.glade#L74) +4. Update the [changelog](https://github.com/slgobinath/SafeEyes/blob/master/debian/changelog) (for Ubuntu release) +5. Commit the changes to `master` +6. Create a pull-request from `master` to `release` +7. Merge the PR to release **with merge commit** (Important to merge with merge commit) + + ## License GNU General Public License v3 diff --git a/debian/changelog b/debian/changelog index 1837ba4..27e607e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,6 @@ -safeeyes (2.1.5-0) lunar; urgency=high +safeeyes (2.1.6-0) lunar; urgency=high + * Support Python 3.11 + * Minor bug fixes * Fix the ecd ..rror if there is no long break diff --git a/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml b/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml index 82ee77c..0aa25a6 100644 --- a/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml +++ b/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml @@ -47,7 +47,7 @@ https://slgobinath.github.io/SafeEyes/ - + diff --git a/safeeyes/safeeyes.py b/safeeyes/safeeyes.py index 709ec0c..7b88553 100644 --- a/safeeyes/safeeyes.py +++ b/safeeyes/safeeyes.py @@ -40,7 +40,7 @@ from safeeyes.ui.settings_dialog import SettingsDialog gi.require_version('Gtk', '3.0') from gi.repository import Gtk -SAFE_EYES_VERSION = "2.1.5" +SAFE_EYES_VERSION = "2.1.6" class SafeEyes: diff --git a/setup.py b/setup.py index 4c2d736..c7bc490 100644 --- a/setup.py +++ b/setup.py @@ -78,14 +78,14 @@ def __package_data(): setuptools.setup( name="safeeyes", - version="2.1.5", + version="2.1.6", description="Protect your eyes from eye strain using this continuous breaks reminder.", long_description=long_description, long_description_content_type="text/markdown", author="Gobinath Loganathan", author_email="slgobinath@gmail.com", url="https://github.com/slgobinath/SafeEyes", - download_url="https://github.com/slgobinath/SafeEyes/archive/v2.1.5.tar.gz", + download_url="https://github.com/slgobinath/SafeEyes/archive/v2.1.6.tar.gz", packages=setuptools.find_packages(), package_data={'safeeyes': __package_data()}, data_files=__data_files(),