Fix list_rc_updates.sh for new branch naming
With the new release identification / naming schema [1] (like: 2023.1 Antelope) new stable branch naming was introduced (like: stable/2023.1). list_rc_updates.sh script was not updated to this new branch naming. [1] https://governance.openstack.org/tc/reference/release-naming.html Change-Id: If7027d462324d705e18c4a579316175a700e0548
This commit is contained in:
parent
716dfa2eb9
commit
f1e6c1dc3c
@ -18,7 +18,9 @@ fi
|
||||
|
||||
# Figure out the current series from the releases directory.
|
||||
current_series=$(python -c 'import openstack_releases.defaults; \
|
||||
print(openstack_releases.defaults.RELEASE)')
|
||||
from openstack_releases import series_status; \
|
||||
series_status_data = series_status.SeriesStatus.default(); \
|
||||
print(series_status_data[openstack_releases.defaults.RELEASE].release_id)')
|
||||
if [ -z "$current_series" ]; then
|
||||
echo "Could not determine the current release series."
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user