Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
06d86d04
Unverified
Commit
06d86d04
authored
5 years ago
by
Issy Long
Browse files
Options
Downloads
Patches
Plain Diff
Use the correct name for the GitHub username envvar: HOMEBREW_GITHUB_USER
parent
cae41ef0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/Homebrew-linuxbrew-core-Maintainer-Guide.md
+4
-4
4 additions, 4 deletions
docs/Homebrew-linuxbrew-core-Maintainer-Guide.md
with
4 additions
and
4 deletions
docs/Homebrew-linuxbrew-core-Maintainer-Guide.md
+
4
−
4
View file @
06d86d04
...
...
@@ -39,14 +39,14 @@ merge and make sure that there are 3 remotes:
Remote names
`origin`
and
`homebrew`
are hard-coded in
`merge-homebrew`
, while the remote pointing to your fork must be the
same as your GitHub username, as it will be used to submit a pull
request for the merge. Set the name to the
`$GITHUB_USER`
environment
request for the merge. Set the name to the
`$
HOMEBREW_
GITHUB_USER`
environment
variable, or let
`hub fork`
add a remote for you.
```
bash
brew
install
hub
cd
$(
brew
--repo
homebrew/core
)
git remote add homebrew https://github.com/Homebrew/homebrew-core.git
hub fork
--remote-name
=
$GITHUB_USER
hub fork
--remote-name
=
$
HOMEBREW_
GITHUB_USER
```
Now, let's make sure that our local branch
`master`
is clean and that
...
...
@@ -56,7 +56,7 @@ your fork is up-to-date with Homebrew/linuxbrew-core:
git checkout master
git fetch origin master
git reset
--hard
origin/master
git push
--force
$GITHUB_USER
master
git push
--force
$
HOMEBREW_
GITHUB_USER
master
```
Strictly speaking, there is no need for
`git reset --hard
...
...
@@ -219,7 +219,7 @@ command where the merge commit is `HEAD`:
```
sh
for
formula
in
$(
brew find-formulae-to-bottle
)
;
do
brew build-bottle-pr
--remote
=
$GITHUB_USER
$formula
brew build-bottle-pr
--remote
=
$
HOMEBREW_
GITHUB_USER
$formula
done
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment