Skip to content

Commit eb9331c

Browse files
Anandaraju Coimbatore SivarajuAlena Kastsiukavets
authored andcommitted
Update VERSION file of agent to LATEST_VERSION
cr https://code.amazon.com/reviews/CR-26866900
1 parent a5ea5f1 commit eb9331c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ end
317317

318318
def get_target_version(target_version, type, region, bucket)
319319
if target_version.nil?
320-
version_file_key = 'latest/VERSION'
320+
version_file_key = 'latest/LATEST_VERSION'
321321
version_data = get_version_file_from_s3(region, bucket, version_file_key)
322322
if version_data.include? type
323323
return version_data[type]

bin/update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ EOF
438438

439439
REGION = get_region
440440
BUCKET = "aws-codedeploy-#{REGION}"
441-
VERSION_FILE_KEY = 'latest/VERSION'
441+
VERSION_FILE_KEY = 'latest/LATEST_VERSION'
442442

443443
NO_AGENT_INSTALLED_REPORTED_WINDOWS_VERSION = 'No Agent Installed'
444444
def running_agent_version_windows

0 commit comments

Comments
 (0)