Skip to content

Commit

Permalink
Added bug fix for AWS Code Build failing to zip packages with
Browse files Browse the repository at this point in the history
 modification date of 1985. Post npm install now touches files to update
 the modification date.

 Workaround sourced from: aws/aws-sdk-js#1977

 On branch dev

 Changes to be committed:
	modified:   buildspec.yml
  • Loading branch information
Ro5635 committed Sep 5, 2018
1 parent 19a2142 commit a52d628
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ phases:
# Install dependencies needed for running tests
- npm install

# Prevent files from having a timestamp before 1980
- find ./node_modules -mtime +10950 -exec touch {} \;


# Upgrade AWS CLI to the latest version
- pip install --upgrade pip
- pip install --upgrade awscli
Expand Down

0 comments on commit a52d628

Please sign in to comment.