From 6c077d852579e5c0eb696b82d67c86c5fbc6b0c1 Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Thu, 16 Jan 2025 19:10:07 +0530 Subject: [PATCH] updating version to major version and few plan file fixes Signed-off-by: nikhil2611 --- .expeditor/config.yml | 2 +- VERSION | 2 +- habitat/plan.ps1 | 2 +- habitat/plan.sh | 3 ++- lib/chef-cli/version.rb | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.expeditor/config.yml b/.expeditor/config.yml index b4731ec5..a51c74a1 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -11,7 +11,7 @@ rubygems: release_branches: - workstation-LTS: - version_constraint: 0.* + version_constraint: 6.* - main: version_constraint: 5.* github: diff --git a/VERSION b/VERSION index 7693c96b..f4965a31 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.3 \ No newline at end of file +6.0.0 \ No newline at end of file diff --git a/habitat/plan.ps1 b/habitat/plan.ps1 index 34c671fa..da5dd08c 100644 --- a/habitat/plan.ps1 +++ b/habitat/plan.ps1 @@ -1,7 +1,7 @@ $ErrorActionPreference = "Stop" $PSDefaultParameterValues['*:ErrorAction']='Stop' -$env:HAB_BLDR_CHANNEL = "LTS-2024" +$env:HAB_REFRESH_CHANNEL = "LTS-2024" $pkg_name="chef-cli" $pkg_origin="chef" $pkg_version=$(Get-Content "$PLAN_CONTEXT/../VERSION") diff --git a/habitat/plan.sh b/habitat/plan.sh index 5b4953de..f2dbeaec 100644 --- a/habitat/plan.sh +++ b/habitat/plan.sh @@ -1,4 +1,4 @@ -export HAB_BLDR_CHANNEL="LTS-2024" +export HAB_REFRESH_CHANNEL="LTS-2024" pkg_name=chef-cli pkg_origin=chef ruby_pkg="core/ruby3_1" @@ -10,6 +10,7 @@ pkg_build_deps=( core/libarchive ) pkg_bin_dirs=(bin) + do_setup_environment() { build_line 'Setting GEM_HOME="$pkg_prefix/vendor"' export GEM_HOME="$pkg_prefix/vendor" diff --git a/lib/chef-cli/version.rb b/lib/chef-cli/version.rb index 6311d505..7d46b015 100644 --- a/lib/chef-cli/version.rb +++ b/lib/chef-cli/version.rb @@ -16,5 +16,5 @@ # module ChefCLI - VERSION = "0.1.3".freeze + VERSION = "6.0.0".freeze end