Skip to content

Commit

Permalink
Add version number to zip file.
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed May 16, 2015
1 parent a7e5d79 commit 894954b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Gemfile.lock
overviews.zip
Overview/
Gemfile.lock
*.zip
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ deploy:
provider: releases
api_key:
secure: E4Rieypa6Nsy75bdGGcr6JyJs8Jhvli5s9v7Gjoivu9r7IRMcXxNC4HviVpbNpVIR2gUUubiQUUM8ODradpMMI9D8JY1diW2FWQqdUKQFvp0RWHf6tYl5+MpqV4YqWk7GzSFcLG2G8TYSOBtAAJ4ftfhhUPcAzrBMig0h7v042I=
file: overviews.zip
file: eve-overview-${TRAVIS_TAG}.zip
skip_cleanup: true
on:
tags: true
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ task :compile_overviews do
end

task travis: [:build] do
system 'zip', '-r', 'overviews.zip', build
system 'zip', '-r', "eve-overview-v#{File.read('VERSION').strip}.zip", build
end

def compile_overview(name, path, overview)
Expand Down

0 comments on commit 894954b

Please sign in to comment.