mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-05 04:47:37 +03:00
release: Fix read tag
This commit is contained in:
parent
a530e424e9
commit
2e4a6de4e7
1 changed files with 1 additions and 4 deletions
|
@ -27,11 +27,8 @@ func main() {
|
||||||
)
|
)
|
||||||
if flagRunNightly {
|
if flagRunNightly {
|
||||||
var version badversion.Version
|
var version badversion.Version
|
||||||
version, err = build_shared.ReadTagVersionRev()
|
version, err = build_shared.ReadTagVersion()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if version.PreReleaseIdentifier == "" {
|
|
||||||
version.Patch++
|
|
||||||
}
|
|
||||||
versionStr = version.String()
|
versionStr = version.String()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue