def pod_release
      raise "CocoaPod repo is not set, aborting cocoapod_release task." unless @configuration.pod_repo != nil
      raise "Spec file is not set, aborting cocoapod_release task." unless @configuration.podspec_file != nil

      # make a dry run first
      pod_dry_run

      # tag source as needed
      if @configuration.release_strategy != nil then
        @configuration.release_strategy.tag_current_version
      end

      # and push pod pod
      push_pod

      # ask release strategy to bump the release number
      if @configuration.release_strategy != nil then
          @configuration.release_strategy.prepare_for_next_pod_release
      end
      puts "Pod successfully released"
    end
def pod_release
      raise "CocoaPod repo is not set, aborting cocoapod_release task." unless @configuration.pod_repo != nil
      raise "Spec file is not set, aborting cocoapod_release task." unless @configuration.podspec_file != nil

      # make a dry run first
      pod_dry_run

      # tag source as needed
      if @configuration.release_strategy != nil then
        @configuration.release_strategy.tag_current_version
      end

      # and push pod pod
      push_pod

      # ask release strategy to bump the release number
      if @configuration.release_strategy != nil then
          @configuration.release_strategy.prepare_for_next_pod_release
      end
      puts "Pod successfully released"
    end
desc "For CocoaPod libraries: dry run, tags SCM, pushes to cocoapod and increments build number"