diff --git a/RELEASE.md b/RELEASE.md index 23e033f0..5a77a4ce 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -7,10 +7,8 @@ Unless you're a core OnionShare developer making a release, you'll probably neve Before making a release, you must update the version in these places: - [ ] `cli/pyproject.toml` -- [ ] `cli/setup.py` - [ ] `cli/onionshare_cli/resources/version.txt` - [ ] `desktop/pyproject.toml` -- [ ] `desktop/setup.py` - [ ] `desktop/org.onionshare.OnionShare.appdata.xml` - [ ] `docs/source/conf.py` (`version` at the top, and the `versions` list too) - [ ] `snap/snapcraft.yaml` diff --git a/cli/onionshare_cli/resources/version.txt b/cli/onionshare_cli/resources/version.txt index 7208c218..58073ef8 100644 --- a/cli/onionshare_cli/resources/version.txt +++ b/cli/onionshare_cli/resources/version.txt @@ -1 +1 @@ -2.4 \ No newline at end of file +2.4.1 \ No newline at end of file diff --git a/cli/pyproject.toml b/cli/pyproject.toml index 9b664d72..68bdf57e 100644 --- a/cli/pyproject.toml +++ b/cli/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "onionshare_cli" -version = "2.4" +version = "2.4.1" description = "OnionShare lets you securely and anonymously send and receive files. It works by starting a web server, making it accessible as a Tor onion service, and generating an unguessable web address so others can download files from you, or upload files to you. It does _not_ require setting up a separate server or using a third party file-sharing service." authors = ["Micah Lee "] license = "GPLv3+" diff --git a/cli/setup.py b/cli/setup.py index 407991d0..c9fec324 100644 --- a/cli/setup.py +++ b/cli/setup.py @@ -18,9 +18,11 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . """ +import os import setuptools -version = "2.4" +with open(os.path.join("onionshare_cli", "resources", "version.txt")) as f: + version = f.read().strip() setuptools.setup( name="onionshare-cli", diff --git a/desktop/org.onionshare.OnionShare.appdata.xml b/desktop/org.onionshare.OnionShare.appdata.xml index 1bdac5f8..f6cf732c 100644 --- a/desktop/org.onionshare.OnionShare.appdata.xml +++ b/desktop/org.onionshare.OnionShare.appdata.xml @@ -24,6 +24,6 @@ micah@micahflee.com - + diff --git a/desktop/pyproject.toml b/desktop/pyproject.toml index 7410c04b..f8d72560 100644 --- a/desktop/pyproject.toml +++ b/desktop/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "onionshare" -version = "4.2.1" +version = "2.4.1" description = "OnionShare lets you securely and anonymously send and receive files. It works by starting a web server, making it accessible as a Tor onion service, and generating an unguessable web address so others can download files from you, or upload files to you. It does _not_ require setting up a separate server or using a third party file-sharing service." authors = ["Micah Lee "] license = "GPLv3+"