alpha_omega 0.0.107 → 0.0.108

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/libexec/proxy +6 -1
  3. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.107
1
+ 0.0.108
data/libexec/proxy CHANGED
@@ -4,6 +4,11 @@ hst_proxy="${GATEWAY:=deploy}"
4
4
 
5
5
  # remote arguments
6
6
  git_url="$(git config --list | grep remote.origin.url | cut -d= -f2-)"
7
- git_head="$(git log HEAD | head -1 | grep ^commit | awk '{print $2}')"
7
+ git_head="$(git show HEAD | head -1 | grep ^commit | awk '{print $2}')"
8
+
9
+ if [[ -z $git_head ]]; then
10
+ echo "ERROR: could not find the SHA for HEAD" 1>&2
11
+ exit 1
12
+ fi
8
13
 
9
14
  ssh -t $hst_proxy alpha_omega_proxy_helper "$USER" "$git_url" "$git_head" "$@"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alpha_omega
3
3
  version: !ruby/object:Gem::Version
4
- hash: 201
4
+ hash: 199
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 107
10
- version: 0.0.107
9
+ - 108
10
+ version: 0.0.108
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  requirements: []
180
180
 
181
181
  rubyforge_project:
182
- rubygems_version: 1.8.17
182
+ rubygems_version: 1.8.21
183
183
  signing_key:
184
184
  specification_version: 3
185
185
  summary: alpha_omega capistrano recipes