diff --git a/TOOLS/config/dev/profile.env b/TOOLS/config/dev/profile.env index c17731a..3d53b85 100644 --- a/TOOLS/config/dev/profile.env +++ b/TOOLS/config/dev/profile.env @@ -4,7 +4,7 @@ TOKEN_FILE="secrets/dev.token" # Release versions # Version -VERSION="3.0.1" +VERSION="3.1.0" # Registry/S3 settings REGISTRY_HOST="terra.k8c.ru" diff --git a/TOOLS/config/prod/profile.env b/TOOLS/config/prod/profile.env index afb60f0..3543b90 100644 --- a/TOOLS/config/prod/profile.env +++ b/TOOLS/config/prod/profile.env @@ -4,7 +4,7 @@ TOKEN_FILE="secrets/prod.token" # Release versions # Version -VERSION="2.1.23" +VERSION="2.1.0" # Registry/S3 settings REGISTRY_HOST="terra.k8c.ru" diff --git a/TOOLS/config/test/profile.env b/TOOLS/config/test/profile.env index dd98f9d..aa85d19 100644 --- a/TOOLS/config/test/profile.env +++ b/TOOLS/config/test/profile.env @@ -3,7 +3,7 @@ NUBES_API_ENDPOINT="https://lk-api-gateway-test.ngcloud.ru/api/v1/svc" TOKEN_FILE="secrets/test.token" # Version -VERSION="5.0.68" +VERSION="5.1.0" # Docs generation — ONLY from docs_gen// (never from docs/) DOCS_GEN_DIR="provider/docs_gen/test" diff --git a/provider/main.go b/provider/main.go index 5a49677..b347808 100644 --- a/provider/main.go +++ b/provider/main.go @@ -16,8 +16,10 @@ import ( "github.com/hashicorp/terraform-plugin-framework/providerserver" ) +// version задаётся через ldflags при сборке: -ldflags "-X main.version=X.Y.Z" +// Значение по умолчанию — только для dev-сборок без скрипта. var ( - version string = "5.0.74" + version string = "0.0.0-dev" ) func main() {