capistrano-ext-projectdx 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,6 +40,9 @@ Capistrano::Configuration.instance.load do
40
40
  commit=nil;
41
41
  release=ENV[ 'DEPLOY_VERSION' ] if ENV[ 'DEPLOY_VERSION' ]
42
42
  release=ENV['BUILD_VCS_NUMBER'][0,12] if ENV['BUILD_VCS_NUMBER']
43
+ if release.nil? && !branch_stages.include?(stage.to_s)
44
+ release='master'
45
+ end
43
46
  commit = commit_of_rev(release)
44
47
  while not valid_commit?(commit) do
45
48
  release=Capistrano::CLI.ui.ask( 'Enter release number to deploy: ' )
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-ext-projectdx
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Darrell Fuhriman