mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-04 17:19:52 +00:00
Add version v28 (#564)
<!-- cloudflare-preview --> Preview: https://pr-564.docs-gitea-com.pages.dev Reviewed-on: https://gitea.com/gitea/docs/pulls/564 Reviewed-by: bircni <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
This commit is contained in:
1 parent
deb2f068d4
commit
ba60edbbda
338 files changed
+114457
-47
No files matched your search
+8
-3
@@ -127,7 +127,12 @@ if [ "$LATEST_ONLY" -eq 1 ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for ver in '1.27.3' '1.26.4' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do
|
||||
minor=$(echo "$ver" | cut -d '.' -f 2)
|
||||
update_version "refs/tags/v${ver}" "${ver}" "${minor}"
|
||||
for ver in '28.0.0' '1.27.3' '1.26.4' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do
|
||||
# 1.x releases are suffixed with the minor (1.27.3 -> 27), the versions
|
||||
# without the 1. prefix with the major (28.0.0 -> 28)
|
||||
case "$ver" in
|
||||
1.*) suffix=$(echo "$ver" | cut -d '.' -f 2) ;;
|
||||
*) suffix=$(echo "$ver" | cut -d '.' -f 1) ;;
|
||||
esac
|
||||
update_version "refs/tags/v${ver}" "${ver}" "${suffix}"
|
||||
done
|
||||
Reference in new issue
Block a user