Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
juga
sbws
Commits
12001ae6
Commit
12001ae6
authored
Jul 17, 2020
by
juga
Browse files
fix: scripts: Stop releasing from -dev0 version
since now sbws version is calculated from last release tag.
parent
b88eb394
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/maint/release.py
View file @
12001ae6
...
...
@@ -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
(),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment