deploy_s3 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/bin/ds3 +3 -3
- data/lib/deploy_s3/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0a9786fc96ac15ea219bbf3d947a2f4a6b446ed
|
4
|
+
data.tar.gz: 9b16a89ba6879adeab28993322632b6690ce7bb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21af5d3e208d83ae05542960035499442e4ce964026a7ca8fe92b7c038962e783a41b7d08e5d621174e14b1060058dcf9916594e7aa46a26db60ae10458a984b
|
7
|
+
data.tar.gz: e7698f61703e6d20d5a80299c3381f319c2814f7694a9727fc66e8bf5ad638c68027094978e8b55b1e458e580331d2f2a5ff6647b50326535fc44a9ca19cc15b
|
data/README.md
CHANGED
@@ -29,8 +29,9 @@ Movable Ink uses Chef to push out new code, and Chef can simply read s3 for the
|
|
29
29
|
|
30
30
|
## History
|
31
31
|
|
32
|
-
*
|
33
|
-
*
|
32
|
+
* _0.0.3_ - Fix command-line option parsing to work as advertised.
|
33
|
+
* _0.0.2_ - Always save the full git sha to s3. Many CI and deployment tools always upload using the full sha in the path.
|
34
|
+
* _0.0.1_ - Initial release.
|
34
35
|
|
35
36
|
## License
|
36
37
|
|
data/bin/ds3
CHANGED
@@ -13,18 +13,18 @@ require 'colorize'
|
|
13
13
|
|
14
14
|
options = {}
|
15
15
|
|
16
|
-
options[:environment] = ARGV.
|
16
|
+
options[:environment] = ARGV.shift
|
17
17
|
|
18
18
|
options[:rev] = ENV['REV']
|
19
19
|
|
20
20
|
optparse = OptionParser.new do |opts|
|
21
21
|
opts.banner = "Usage: ds3 [environment] [options]"
|
22
22
|
|
23
|
-
opts.on("-c", "--config", String, "Location of .deploy configuration file") do |c|
|
23
|
+
opts.on("-c", "--config=CONFIG", String, "Location of .deploy configuration file") do |c|
|
24
24
|
options[:config_file] = c
|
25
25
|
end
|
26
26
|
|
27
|
-
opts.on("-r", "--
|
27
|
+
opts.on("-r", "--revision=REVISION", String, "Revision to deploy (can be sha, branch, etc)") do |r|
|
28
28
|
options[:rev] = r
|
29
29
|
end
|
30
30
|
end
|
data/lib/deploy_s3/version.rb
CHANGED