diff --git a/Library/Homebrew/dev-cmd/pr-pull.rb b/Library/Homebrew/dev-cmd/pr-pull.rb index 0e46ebbbc364909a620bff3e850927280af67ea1..6c5e867e856e94ae01cf34b457d08d544b154327 100644 --- a/Library/Homebrew/dev-cmd/pr-pull.rb +++ b/Library/Homebrew/dev-cmd/pr-pull.rb @@ -4,7 +4,6 @@ require "download_strategy" require "cli/parser" require "utils/github" require "tmpdir" -require "bintray" require "formula" module Homebrew @@ -24,7 +23,7 @@ module Homebrew "upload the bottles to Bintray, but don't publish them." switch "--no-upload", description: "Download the bottles and apply the bottle commit, "\ - "but don't upload to Bintray." + "but don't upload to Bintray or GitHub Releases." switch "-n", "--dry-run", description: "Print what would be done rather than doing it." switch "--clean", @@ -211,16 +210,9 @@ module Homebrew def pr_pull args = pr_pull_args.parse - bintray_user = ENV["HOMEBREW_BINTRAY_USER"] - bintray_key = ENV["HOMEBREW_BINTRAY_KEY"] - bintray_org = args.bintray_org || "homebrew" - - if (bintray_user.blank? || bintray_key.blank?) && !args.dry_run? && !args.no_upload? - odie "Missing HOMEBREW_BINTRAY_USER or HOMEBREW_BINTRAY_KEY variables!" - end - workflow = args.workflow || "tests.yml" artifact = args.artifact || "bottles" + bintray_org = args.bintray_org || "homebrew" mirror_repo = args.bintray_mirror || "mirror" tap = Tap.fetch(args.tap || CoreTap.instance.name) diff --git a/docs/Manpage.md b/docs/Manpage.md index 531b47decb5dabcb9ae37da914ef5bf02688ce31..c1c0870ebce29e3750a335a917e7eec634c18f7e 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1085,7 +1085,7 @@ Requires write access to the repository. * `--no-publish`: Download the bottles, apply the bottle commit and upload the bottles to Bintray, but don't publish them. * `--no-upload`: - Download the bottles and apply the bottle commit, but don't upload to Bintray. + Download the bottles and apply the bottle commit, but don't upload to Bintray or GitHub Releases. * `-n`, `--dry-run`: Print what would be done rather than doing it. * `--clean`: diff --git a/manpages/brew.1 b/manpages/brew.1 index d9da1fb564ee75f47c95dc40c57a6b39f1a2569f..65c0f144cb469475a649a34982c965e66c462c2a 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1496,7 +1496,7 @@ Download the bottles, apply the bottle commit and upload the bottles to Bintray, . .TP \fB\-\-no\-upload\fR -Download the bottles and apply the bottle commit, but don\'t upload to Bintray\. +Download the bottles and apply the bottle commit, but don\'t upload to Bintray or GitHub Releases\. . .TP \fB\-n\fR, \fB\-\-dry\-run\fR