Fix some versions

This commit is contained in:
Lunny Xiao
2024-08-31 23:36:04 -07:00
parent 1f23956442
commit 2f7d104417
31 changed files with 60 additions and 50 deletions

View File

@@ -45,7 +45,7 @@ To work with tagged releases, the following commands can be used:
```bash
git branch -a
git checkout v@version@
git checkout @sourceBranch@
```
To validate a Pull Request, first enable the new branch (`xyz` is the PR id;
@@ -55,14 +55,14 @@ for example `2663` for [#2663](https://github.com/go-gitea/gitea/pull/2663)):
git fetch origin pull/xyz/head:pr-xyz
```
To build Gitea from source at a specific tagged release (like v@version@), list the
To build Gitea from source at a specific tagged release (like @sourceVersion@), list the
available tags and check out the specific tag.
List available tags with the following.
```bash
git tag -l
git checkout v@version@ # or git checkout pr-xyz
git checkout @sourceVersion@ # or git checkout pr-xyz
```
## Build