GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 12001ae6 authored by juga  's avatar juga 💬

fix: scripts: Stop releasing from -dev0 version

since now sbws version is calculated from last release tag.
parent b88eb394
...@@ -21,7 +21,7 @@ All in sequence and doesn't recover from any previous step. ...@@ -21,7 +21,7 @@ All in sequence and doesn't recover from any previous step.
It assumes that: It assumes that:
- gitchangelog and semantic_version are installed - 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 official tarball releases are at gitlab.torproject.org
- the key to sign the release is only one and is available in the system - the key to sign the release is only one and is available in the system
...@@ -44,8 +44,6 @@ import sbws ...@@ -44,8 +44,6 @@ import sbws
def obtain_release_version(version): def obtain_release_version(version):
# Ensure this is a prerelease version (eg 1.0.3-dev0)
assert version.prerelease
release_type_dict = { release_type_dict = {
1: version.next_patch(), 1: version.next_patch(),
2: version.next_minor(), 2: version.next_minor(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment