softwear-lib 1.2.9 → 1.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/softwear-deploy +6 -5
- data/lib/softwear/lib/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: 939ce1675062467f15ed18504f78f8a884a7d3c7
|
4
|
+
data.tar.gz: 571aaff5c31954d6cb3469773c62101d0e75663b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f6f750b8ee8677f9900f2d698aef61c96f7b190c46b0d534d5bc409bf34deeee55605d4b3fbb5c8b293bf862ec1d946afd05eb5a3a0d4d0fc26cb857b25ade0
|
7
|
+
data.tar.gz: e7c7bc002b7a31ac1acca396347e1320ac92fd941bf2d6199d0f65b0b9802c5ffba26b3c536ff7db15a5148e2417b1669138364a36a04b749025334f776c4e43
|
data/bin/softwear-deploy
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#!/bin/
|
1
|
+
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
if
|
4
|
-
rvm install 2.1.2
|
5
|
-
|
6
|
-
|
3
|
+
if `git rev-parse --abbrev-ref HEAD`.strip == 'master'
|
4
|
+
exec "rvm install 2.1.2 && rvm 2.1.2 do bundle exec cap production deploy"
|
5
|
+
else
|
6
|
+
puts "Not on master branch - no deploy."
|
7
|
+
end
|
data/lib/softwear/lib/version.rb
CHANGED