Merge "Fix latest_tag rendering for stable versions"
This commit is contained in:
commit
16d6c9bb06
@ -26,7 +26,6 @@ import os
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
import pbr.version
|
||||
import openstackdocstheme
|
||||
|
||||
# -- OpenStack-Ansible configuration --------------------------------------
|
||||
@ -52,7 +51,7 @@ if current_series == "latest":
|
||||
suse_series = previous_series_name.capitalize()
|
||||
else:
|
||||
series_names = current_series.capitalize()
|
||||
latest_tag = pbr.version.VersionInfo('osa_toolkit').__str__()
|
||||
latest_tag = subprocess.check_output(["git", "describe", "--abbrev=0", "--tag"]).strip().decode()
|
||||
rdo_series = current_series_name
|
||||
suse_series = current_series_name.capitalize()
|
||||
|
||||
|
@ -29,7 +29,6 @@ import sys
|
||||
import subprocess
|
||||
|
||||
import openstackdocstheme
|
||||
import pbr.version
|
||||
import yaml
|
||||
|
||||
# -- OpenStack-Ansible configuration --------------------------------------
|
||||
@ -55,7 +54,7 @@ if current_series == "latest":
|
||||
upgrade_warning = "Upgrading to master is not recommended. Master is under heavy development, and is not stable."
|
||||
else:
|
||||
series_names = current_series.capitalize()
|
||||
latest_tag = pbr.version.VersionInfo('osa_toolkit').__str__()
|
||||
latest_tag = subprocess.check_output(["git", "describe", "--abbrev=0", "--tag"]).strip().decode()
|
||||
branch = "stable/{}".format(current_series)
|
||||
upgrade_warning = "The upgrade is always under active development."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user