Bump go version to 1.22.3

This commit is contained in:
ionutboangiu
2024-05-13 17:53:33 +03:00
committed by Dan Christian Bogos
parent 37b0a154a4
commit 75694bd75d
5 changed files with 6 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ RUN apt-get clean && \
RUN touch /logs/mariadb.log /logs/mariadb_script.log /logs/rabbitmq.log
RUN chmod 777 /logs/mariadb.log /logs/mariadb_script.log /logs/rabbitmq.log
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.22.0.linux-amd64.tar.gz" --progress=dot:giga
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.22.3.linux-amd64.tar.gz" --progress=dot:giga
RUN tar -C /usr/local -xzf go.tgz
RUN rm go.tgz

View File

@@ -145,8 +145,8 @@ To install the latest Go version at the time of writing this documentation, run:
# sudo dnf install -y wget tar for .rpm distros
sudo rm -rf /usr/local/go
cd /tmp
wget https://go.dev/dl/go1.22.0.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz
wget https://go.dev/dl/go1.22.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
Installation:

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/cgrates/cgrates
go 1.22.1
go 1.22.3
// replace github.com/cgrates/radigo => ../radigo

View File

@@ -1,6 +1,6 @@
# Define global variables
%global version 0.11.0~dev
%global go_version 1.22.0
%global go_version 1.22.3
# Define system paths
%define debug_package %{nil}

View File

@@ -1,6 +1,6 @@
# Define global variables
%global version 0.11.0~dev
%global go_version 1.22.0
%global go_version 1.22.3
%global git_commit %(echo $gitLastCommit)
%global releaseTag %(echo $rpmTag)