Skip to content

Commit

Permalink
Update VERSION file of agent to LATEST_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
Anandaraju Coimbatore Sivaraju authored and Alena Kastsiukavets committed Jun 25, 2020
1 parent a5ea5f1 commit eb9331c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ end

def get_target_version(target_version, type, region, bucket)
if target_version.nil?
version_file_key = 'latest/VERSION'
version_file_key = 'latest/LATEST_VERSION'
version_data = get_version_file_from_s3(region, bucket, version_file_key)
if version_data.include? type
return version_data[type]
Expand Down
2 changes: 1 addition & 1 deletion bin/update
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ EOF

REGION = get_region
BUCKET = "aws-codedeploy-#{REGION}"
VERSION_FILE_KEY = 'latest/VERSION'
VERSION_FILE_KEY = 'latest/LATEST_VERSION'

NO_AGENT_INSTALLED_REPORTED_WINDOWS_VERSION = 'No Agent Installed'
def running_agent_version_windows
Expand Down

0 comments on commit eb9331c

Please sign in to comment.