Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2022-02-23 22:59:51 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2022-02-23 23:00:16 +0300
commit86fc63c4ca9d36eae7512c5c3e640285d84415d1 (patch)
tree7efdfd0413291fb8e299b406bd5905f869ce7b49 /release/scripts/modules/rna_manual_reference.py
parent6ca85a8cf1f30ea36eaebe28484ae183d836811d (diff)
Cleanup: Simplify manual url version handling
Recently we changed the build pipeline to always create a version number in the url and point 'dev' to the latest version rather than creating the version number url once we release. This makes the check to `bpy.app.version_cycle` unnecessary.
Diffstat (limited to 'release/scripts/modules/rna_manual_reference.py')
-rw-r--r--release/scripts/modules/rna_manual_reference.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/modules/rna_manual_reference.py b/release/scripts/modules/rna_manual_reference.py
index 85c46ebbcd8..4b10c29346e 100644
--- a/release/scripts/modules/rna_manual_reference.py
+++ b/release/scripts/modules/rna_manual_reference.py
@@ -3,10 +3,7 @@
import bpy
-if bpy.app.version_cycle in {'rc', 'release'}:
- manual_version = '%d.%d' % bpy.app.version[:2]
-else:
- manual_version = 'dev'
+manual_version = '%d.%d' % bpy.app.version[:2]
url_manual_prefix = "https://docs.blender.org/manual/en/" + manual_version + "/"