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
842ae5df
Commit
842ae5df
authored
8 years ago
by
Mike McQuaid
Browse files
Options
Downloads
Patches
Plain Diff
update-test: add --to-tag option.
This option is used to test updating between tags.
parent
98e7fb6b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Library/Homebrew/dev-cmd/update-test.rb
+5
-0
5 additions, 0 deletions
Library/Homebrew/dev-cmd/update-test.rb
docs/brew.1.html
+3
-0
3 additions, 0 deletions
docs/brew.1.html
manpages/brew-cask.1
+1
-1
1 addition, 1 deletion
manpages/brew-cask.1
manpages/brew.1
+4
-1
4 additions, 1 deletion
manpages/brew.1
with
13 additions
and
2 deletions
Library/Homebrew/dev-cmd/update-test.rb
+
5
−
0
View file @
842ae5df
...
...
@@ -8,11 +8,16 @@
#: If `--before=<date>` is passed, use the commit at `<date>` as the
#: start commit.
#:
#: If `--to-tag` is passed, set HOMEBREW_UPDATE_TO_TAG to test updating
#: between tags.
#:
#: If `--keep-tmp` is passed, retain the temporary directory containing
#: the new repository clone.
module
Homebrew
def
update_test
ENV
[
"HOMEBREW_UPDATE_TO_TAG"
]
=
"1"
if
ARGV
.
include?
(
"--to-tag"
)
cd
HOMEBREW_REPOSITORY
start_commit
=
if
commit
=
ARGV
.
value
(
"commit"
)
commit
...
...
This diff is collapsed.
Click to expand it.
docs/brew.1.html
+
3
−
0
View file @
842ae5df
...
...
@@ -591,6 +591,9 @@ not deleted.</p>
<p>
If
<code>
--before=
<
date>
</code>
is passed, use the commit at
<code>
<
date>
</code>
as the
start commit.
</p>
<p>
If
<code>
--to-tag
</code>
is passed, set HOMEBREW_UPDATE_TO_TAG to test updating
between tags.
</p>
<p>
If
<code>
--keep-tmp
</code>
is passed, retain the temporary directory containing
the new repository clone.
</p></dd>
</dl>
...
...
This diff is collapsed.
Click to expand it.
manpages/brew-cask.1
+
1
−
1
View file @
842ae5df
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "BREW\-CASK" "1" "
Septem
ber 2016" "Homebrew" "brew-cask"
.TH "BREW\-CASK" "1" "
Octo
ber 2016" "Homebrew" "brew-cask"
.
.SH "NAME"
\fBbrew\-cask\fR \- a friendly binary installer for macOS
...
...
This diff is collapsed.
Click to expand it.
manpages/brew.1
+
4
−
1
View file @
842ae5df
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "BREW" "1" "
Septem
ber 2016" "Homebrew" "brew"
.TH "BREW" "1" "
Octo
ber 2016" "Homebrew" "brew"
.
.SH "NAME"
\fBbrew\fR \- The missing package manager for macOS
...
...
@@ -796,6 +796,9 @@ If \fB\-\-commit=<commit>\fR is passed, use \fB<commit>\fR as the start commit\.
If \fB\-\-before=<date>\fR is passed, use the commit at \fB<date>\fR as the start commit\.
.
.IP
If \fB\-\-to\-tag\fR is passed, set HOMEBREW_UPDATE_TO_TAG to test updating between tags\.
.
.IP
If \fB\-\-keep\-tmp\fR is passed, retain the temporary directory containing the new repository clone\.
.
.SH "EXTERNAL COMMANDS"
...
...
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