mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-21 18:27:41 +00:00
update docker image tag
This commit is contained in:
@@ -70,6 +70,9 @@ for file in `find ./"$docs_dir" -name "*.md"`; do
|
|||||||
# hide hugo toc
|
# hide hugo toc
|
||||||
SED_INPLACE 's/{{< toc >}}//' $file
|
SED_INPLACE 's/{{< toc >}}//' $file
|
||||||
SED_INPLACE 's/dl.gitea.com\/gitea\/{{< version >}}/dl.gitea.com\/gitea\/main/g' $file
|
SED_INPLACE 's/dl.gitea.com\/gitea\/{{< version >}}/dl.gitea.com\/gitea\/main/g' $file
|
||||||
|
if [ "$version" == "lastest" ]; then
|
||||||
|
SED_INPLACE 's/gitea\/gitea\:{{< version >}}/gitea\/gitea\:nightly/g' $file
|
||||||
|
fi
|
||||||
SED_INPLACE "s/{{< version >}}/$minorVer/g" $file
|
SED_INPLACE "s/{{< version >}}/$minorVer/g" $file
|
||||||
SED_INPLACE 's/{{< relref "doc\///g' $file
|
SED_INPLACE 's/{{< relref "doc\///g' $file
|
||||||
SED_INPLACE "s/.$locale.md/.md/g" $file
|
SED_INPLACE "s/.$locale.md/.md/g" $file
|
||||||
|
|||||||
Reference in New Issue
Block a user