Add config option and shortcode for Gitea version (#7940)

Signed-off-by: jolheiser <[email protected]>
This commit is contained in:
John Olheiser
2019-08-23 09:55:06 +08:00
committed by Lunny Xiao
parent 5bb5b714e2
commit f5c4a98f2c
9 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -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 >}}
```
## 编译