[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/maint-1.1] fix: scripts: Stop releasing from -dev0 version



commit 12001ae613d0a9da6425229d396eee12e622960f
Author: juga0 <juga@xxxxxxxxxx>
Date:   Fri Jul 17 10:43:52 2020 +0000

    fix: scripts: Stop releasing from -dev0 version
    
    since now sbws version is calculated from last release tag.
---
 scripts/maint/release.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/maint/release.py b/scripts/maint/release.py
index fba204e..7433ce8 100755
--- a/scripts/maint/release.py
+++ b/scripts/maint/release.py
@@ -21,7 +21,7 @@ All in sequence and doesn't recover from any previous step.
 
 It assumes that:
 - gitchangelog and semantic_version are installed
-- the next prerelease version is the release version + "-dev0"
+- the program version can be obtained with ``sbws.__version__``
 - the official tarball releases are at gitlab.torproject.org
 - the key to sign the release is only one and is available in the system
 
@@ -44,8 +44,6 @@ import sbws
 
 
 def obtain_release_version(version):
-    # Ensure this is a prerelease version (eg 1.0.3-dev0)
-    assert version.prerelease
     release_type_dict = {
         1: version.next_patch(),
         2: version.next_minor(),



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits