soaring 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soaring/packager.rb +2 -3
- data/lib/soaring/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: 3346729621d55efc7a06cda4d51a0989fd348615
|
4
|
+
data.tar.gz: bbf166b935e652dbba13ba49e5c876913df15c07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 379c8f6c4b7cb7275ca4dcad3d646a0ff010d00322837e737666cbed0bf9afbea14253308ddd78c66b44e1fa60434061820cc9e4d784561ccf1194c44960d3a2
|
7
|
+
data.tar.gz: 881237a90932cac8384e516a3d0811b0fdeb557681fded337253422169008d7792d2c76edb49309814e1fffb4ec203fba0a4cbca83f5922550aaa8d628ce387d
|
data/lib/soaring/packager.rb
CHANGED
@@ -5,8 +5,7 @@ module Soaring
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def package(project_folder)
|
8
|
-
|
9
|
-
build_output_location = generate_build_output_location
|
8
|
+
build_output_location = generate_build_output_location(project_folder)
|
10
9
|
`zip -r #{build_output_location} * .ebextensions -x build -x config/environment.yml`
|
11
10
|
puts "Build packaged at #{build_output_location}"
|
12
11
|
end
|
@@ -22,7 +21,7 @@ module Soaring
|
|
22
21
|
puts 'Local git repo up to date.' if @options[:verbose]
|
23
22
|
end
|
24
23
|
|
25
|
-
def generate_build_output_location
|
24
|
+
def generate_build_output_location(project_folder)
|
26
25
|
service_name = File.split(project_folder)[-1]
|
27
26
|
revision_hash = `git rev-parse --short HEAD`.chomp
|
28
27
|
timestamp = Time.now.strftime("%F-%H%M%S")
|
data/lib/soaring/version.rb
CHANGED