mirror of
https://gitea.com/gitea/docs.git
synced 2026-03-27 14:11:03 +07:00
Use minorVer (#50)
Rather than `version` which is e.g. `1.20` or `1.19` use `minorVer` which is set above as e.g. `1.20.0` or `1.19.4`
78cc25c09d/loop_docs.sh (L30)
Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/50
This commit is contained in:
@@ -65,7 +65,7 @@ for file in `find ./"$docs_dir" -name "*.md"`; do
|
||||
SED_INPLACE 's/dl.gitea.com\/gitea\/@version@/dl.gitea.com\/gitea\/main/g' $file
|
||||
SED_INPLACE 's/gitea\/gitea\:@version@/gitea\/gitea\:nightly/g' $file
|
||||
fi
|
||||
SED_INPLACE "s/@version@/$version/g" $file
|
||||
SED_INPLACE "s/@version@/$minorVer/g" $file
|
||||
done
|
||||
|
||||
for file in "$docs_dir"/*; do
|
||||
|
||||
Reference in New Issue
Block a user