mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Add config option and shortcode for Gitea version (#7940)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
committed by
Lunny Xiao
parent
9f58187f11
commit
4ea9a377db
@@ -32,14 +32,14 @@ cd $GOPATH/src/code.gitea.io/gitea
|
||||
|
||||
```
|
||||
git branch -a
|
||||
git checkout v1.0
|
||||
git checkout v{{< version >}}
|
||||
```
|
||||
|
||||
最后,你也可以直接使用标签版本如 `v1.0.0`。你可以执行以下命令列出可用的版本并选择某个版本签出:
|
||||
最后,你也可以直接使用标签版本如 `v{{< version >}}`。你可以执行以下命令列出可用的版本并选择某个版本签出:
|
||||
|
||||
```
|
||||
git tag -l
|
||||
git checkout v1.0.0
|
||||
git checkout v{{< version >}}
|
||||
```
|
||||
|
||||
## 编译
|
||||
|
Reference in New Issue
Block a user