mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-23 09:30:50 +00:00
Add config option and shortcode for Gitea version (#7940)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
9f58187f11
commit
4ea9a377db
11 changed files with 20 additions and 18 deletions
|
@ -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 >}}
|
||||
```
|
||||
|
||||
## 编译
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue