File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
4242for project in $( yq " .[].name" ) ; do
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments