mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-08 03:34:13 +08:00
Override version
This commit is contained in:
parent
fbe390268c
commit
ff31c469a0
@ -1 +1 @@
|
||||
Subproject commit 601e5c1571261691c360d3a017a7aab0551f2b56
|
||||
Subproject commit 3a2fc9c8802f0c40f0b1fd2d7acdcabb7aa0855f
|
@ -1 +1 @@
|
||||
Subproject commit ae8c4ceb6e74fc07780075530747d9eeec1888f1
|
||||
Subproject commit 3d5d7343fb473dce772633183791524629493213
|
@ -46,21 +46,23 @@ func main() {
|
||||
switch propPair[0] {
|
||||
case "VERSION_NAME":
|
||||
if propPair[1] != newVersion {
|
||||
log.Info("updated version from ", propPair[1], " to ", newVersion)
|
||||
versionUpdated = true
|
||||
propPair[1] = newVersion
|
||||
log.Info("updated version to ", newVersion)
|
||||
}
|
||||
case "GO_VERSION":
|
||||
if propPair[1] != runtime.Version() {
|
||||
log.Info("updated Go version from ", propPair[1], " to ", runtime.Version())
|
||||
goVersionUpdated = true
|
||||
propPair[1] = runtime.Version()
|
||||
log.Info("updated Go version to ", runtime.Version())
|
||||
}
|
||||
}
|
||||
}
|
||||
if !(versionUpdated || goVersionUpdated) {
|
||||
log.Info("version not changed")
|
||||
return
|
||||
} else if flagRunInCI {
|
||||
log.Fatal("version changed, commit changes first.")
|
||||
}
|
||||
for _, propPair := range propsList {
|
||||
switch propPair[0] {
|
||||
|
@ -2,10 +2,12 @@
|
||||
icon: material/alert-decagram
|
||||
---
|
||||
|
||||
### 1.11.2
|
||||
### 1.11.3
|
||||
|
||||
* Fixes and improvements
|
||||
|
||||
_This version overwrites 1.11.2, as incorrect binaries were released due to a bug in the continuous integration process._
|
||||
|
||||
### 1.11.1
|
||||
|
||||
* Fixes and improvements
|
||||
|
Loading…
x
Reference in New Issue
Block a user