Skip to content

Commit 73b5040

Browse files
committed
chore: bump version to v2.18.2
1 parent 7870317 commit 73b5040

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

alita/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func LoadConfig() (*Config, error) {
265265
cfg := &Config{
266266
// Core configuration
267267
BotToken: os.Getenv("BOT_TOKEN"),
268-
BotVersion: "2.17.24",
268+
BotVersion: "2.18.2",
269269
ApiServer: os.Getenv("API_SERVER"),
270270
WorkingMode: "worker",
271271
Debug: typeConvertor{str: os.Getenv("DEBUG")}.Bool(),

alita/utils/tracing/tracing_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func resetTracingState(t *testing.T) {
3232
func ensureAppConfig(t *testing.T) {
3333
t.Helper()
3434
if config.AppConfig == nil {
35-
config.AppConfig = &config.Config{BotVersion: "2.17.24"}
35+
config.AppConfig = &config.Config{BotVersion: "2.18.2"}
3636
}
3737
}
3838

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func main() {
7171
// If BOT_TOKEN is not set, config init sets AppConfig to empty Config{}, so we need to check
7272
version := config.AppConfig.BotVersion
7373
if version == "" {
74-
version = "v2.17.24" // Fallback to hardcoded version if config wasn't loaded
74+
version = "v2.18.2" // Fallback to hardcoded version if config wasn't loaded
7575
}
7676
fmt.Println(version)
7777
os.Exit(0)

0 commit comments

Comments
 (0)