Skip to content

Commit 1c44a15

Browse files
committed
Use "latest" alias instead of "stable"
The alias isn't *the* stable version, it's the *latest* one.
1 parent cf7f215 commit 1c44a15

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

build-docs

Lines changed: 3 additions & 3 deletions
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 stable=$(yq "${query}.stable[0]")
19+
local latest=$(yq "${query}.stable[0]")
2020
local repo_dir=$SCRIPT_DIR/_build/$name
2121
local src_path dst_path
2222

@@ -35,8 +35,8 @@ build() {
3535
DESTDIR=$dest_dir bash -c "cd $tree_dir && $build"
3636
done
3737

38-
# Create stable "alias"
39-
cp -r $DEST_DIR/$stable $DEST_DIR/stable
38+
# Create latest "alias"
39+
cp -r $DEST_DIR/$latest $DEST_DIR/latest
4040
}
4141

4242
for project in $(yq ".[].name"); do

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3>Stable Releases</h3>
1717
<li>
1818
<a href="{{ tree.series }}/">{{ project.title }} {{ tree.series }}</a>
1919
{% if latest %}
20-
(<a href="stable/">stable</a>)
20+
(<a href="latest/">latest</a>)
2121
{% assign latest = false %}
2222
{% endif %}
2323
</li>

0 commit comments

Comments
 (0)