Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ jobs:
- run: brew test-bot --only-setup

- run: brew test-bot --only-tap-syntax
# Formulae land here by direct push, not by PR, so this must run on both
# events or the build/test gate never actually fires.
# PR-only by necessity: test-bot picks formulae by diffing HEAD against
# origin/main, which is empty on a push to main. Formula changes must
# therefore land via PR to get built and tested — see README.
- run: brew test-bot --only-formulae
if: github.event_name == 'pull_request'

- name: Upload bottles as artifact
if: always()
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: bottles_${{ matrix.os }}
Expand Down
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,40 @@

## How do I install these formulae?

`brew install drycodeworks/tap/<formula>`
`brew install drycodeworks/tap/tailctl`

Or `brew tap drycodeworks/tap` and then `brew install <formula>`.
Or `brew tap drycodeworks/tap` and then `brew install tailctl`.

Or, in a `brew bundle` `Brewfile`:

```ruby
tap "drycodeworks/tap"
brew "<formula>"
brew "tailctl"
```

## Formulae

- [`tailctl`](https://github.com/DRYCodeWorks/tailctl) — per-identity Tailscale
networking for parallel sessions on a single Mac.

## Changing a formula

**Land formula changes via pull request, not a direct push to main.**

`brew test-bot` picks which formulae to build by diffing `HEAD` against
`origin/main`. On a push to main those are the same commit, so the diff is empty
and CI reports green having built nothing (`testing_formulae (none)`). Only a PR
gives it a base to diff against, and only then does CI actually install, test,
and audit the formula.

Bumping a version:

```bash
brew livecheck drycodeworks/tap/<formula> # is there a new release?
# update url + sha256 (and resources, if dependencies changed)
brew install --build-from-source drycodeworks/tap/<formula>
brew test drycodeworks/tap/<formula>
brew audit --strict --online drycodeworks/tap/<formula>
```

## Documentation
Expand Down
Loading