Skip to content

Commit c817f8d

Browse files
dmnkspmatilai
authored andcommitted
Rename "stable" field to "series" in projects.yml
Same reasoning as in the previous commit. No functional change.
1 parent 18a8179 commit c817f8d

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

_data/projects.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: RPM
33
# Pattern to extract version series
44
series_re: ^([0-9]+\.[0-9]+)\..+$
5-
# Supported stable series
6-
stable:
5+
# Supported version series
6+
series:
77
- 6.1.x
88
- 6.0.x
99
- 4.20.x

build-docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ build() {
1616
local name=$1
1717
local query=".[] | select(.name == \"$name\")"
1818
local repo_url=$(yq "${query}.repourl")
19-
local latest=$(yq "${query}.stable[0]")
19+
local latest=$(yq "${query}.series[0]")
2020
local repo_dir=$SCRIPT_DIR/_build/$name
2121
local src_path dst_path
2222

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2>Documentation</h2>
1010

1111
<ul>
1212
{% assign latest = true %}
13-
{% for series in project.stable %}
13+
{% for series in project.series %}
1414
<li>
1515
<a href="{{ series }}">{{ project.title }} {{ series }}</a>
1616
{% if latest %}

releases/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<h2>Releases</h2>
99

10-
{% for series in project.stable %}
10+
{% for series in project.series %}
1111
<h4>{{ project.title }} {{ series }}</h4>
1212
<ul>
1313

0 commit comments

Comments
 (0)