Skip to content

Commit

Permalink
Override version
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Feb 11, 2025
1 parent fbe3902 commit ff31c46
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clients/android
Submodule android updated 1 files
+3 −3 version.properties
2 changes: 1 addition & 1 deletion clients/apple
6 changes: 4 additions & 2 deletions cmd/internal/update_android_version/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down
4 changes: 3 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff31c46

Please sign in to comment.