Skip to content

Commit

Permalink
fix call of hockeyapp_version_commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkrives committed May 23, 2017
1 parent 8c6b530 commit 4804eff
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions fastlane/lib/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@ def make_changelog
# smart enough to call the appropriate platform's "beta" lane. So, let's make
# a beta build if there have been new commits since the last beta.
def auto_beta
last_commit = hockeyapp_version_commit
current_commit = last_git_commit[:commit_hash]
#last_commit = hockeyapp_version_commit
#current_commit = last_git_commit[:commit_hash]

UI.message 'In faux-git terms:'
UI.message "origin/hockeyapp: #{last_commit}"
UI.message "HEAD: #{current_commit}"
will_beta = last_commit != current_commit ? 'yes' : 'no'
UI.message "Thus, will we beta? #{will_beta}"
#UI.message 'In faux-git terms:'
#UI.message "origin/hockeyapp: #{last_commit}"
#UI.message "HEAD: #{current_commit}"
#will_beta = last_commit != current_commit ? 'yes' : 'no'
#UI.message "Thus, will we beta? #{will_beta}"

beta if last_commit != current_commit
beta #if last_commit != current_commit
end

def codepush_cli(app:, channel: 'nightly', install_target: '~2.2 || ~2.2.0-beta')
Expand Down

0 comments on commit 4804eff

Please sign in to comment.