Skip to content

Commit

Permalink
Show a more informative corruption message
Browse files Browse the repository at this point in the history
  • Loading branch information
laurilehmijoki committed Jun 6, 2014
1 parent dfe75d9 commit c62b0f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/s3_website
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def resolve_jar(project_root, logger)
if expected_checksum == found_checksum
true
else
logger.info_msg "The jar file has invalid checksum. Expected #{expected_checksum} but got #{found_checksum}"
logger.info_msg "The jar is corrupted. (Expected checksum #{expected_checksum} but got #{found_checksum}.)"
false
end
end
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This project uses [Semantic Versioning](http://semver.org).

## 2.1.2

* Show a more informative message if the jar file is corrupted.

## 2.1.1

* Verify that the s3_website.jar is not corrupted. Download it again, if it is.
Expand Down
2 changes: 1 addition & 1 deletion lib/s3_website/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module S3Website
VERSION = '2.1.1'
VERSION = '2.1.2'
end

0 comments on commit c62b0f9

Please sign in to comment.