mirror of
https://github.com/Cian-H/read_aconity_layers.git
synced 2025-12-22 18:31:56 +00:00
Fixed mistake in docs build config function
This commit is contained in:
@@ -10,7 +10,7 @@ def get_release() -> str:
|
|||||||
pkgid = subprocess.run(["cargo", "pkgid"], capture_output=True).stdout.decode().strip()
|
pkgid = subprocess.run(["cargo", "pkgid"], capture_output=True).stdout.decode().strip()
|
||||||
release_start = pkgid.rfind("#") + 1
|
release_start = pkgid.rfind("#") + 1
|
||||||
pkglabel = pkgid[release_start:]
|
pkglabel = pkgid[release_start:]
|
||||||
verlabel = pkglabel[pkglabel.rfind("@") + 1] if "@" in pkglabel else pkglabel
|
verlabel = pkglabel[pkglabel.rfind("@") + 1:] if "@" in pkglabel else pkglabel
|
||||||
return verlabel
|
return verlabel
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user