lib/homebrew_automation/bintray/version.rb
# Upload a file to be part of this +Version+
#
# This is probably your Homebrew Bottle binary tarball.
#
# @param filename [String]
# @param content [String] the bytes in the file
Upload a file to be part of this +Version+
This is probably your Homebrew Bottle binary tarball.
Upload a file to be part of this + Version + This is probably your Homebrew Bottle binary tarball .
def upload_file!(filename, content)
      begin
        @client.upload_file(
          @repo_name,
          @package_name,
          @version_name,
          filename,
          content)
      rescue RestClient::ExceptionWithResponse => e
        case e.response.code
        when 409
          raise FileAlreadyExists
        else
          raise e
        end
      end
    end
def upload_file! ( filename , content ) begin @client . upload_file ( @repo_name , @package_name , @version_name , filename , content ) rescue RestClient :: ExceptionWithResponse => e case e . response . code when 409 raise FileAlreadyExists else raise e end end end
Upload a file to be part of this +Version+
This is probably your Homebrew Bottle binary tarball.
Upload a file to be part of this + Version + This is probably your Homebrew Bottle binary tarball .
filename
content
the bytes in the file
the bytes in the file
None