Skip to content

Commit

Permalink
Update README for info on creating bottles
Browse files Browse the repository at this point in the history
  • Loading branch information
cantunca-pointr committed Nov 15, 2024
1 parent 9c95e3e commit 60d729f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,14 @@ For example:
brew install maplibre-gl-native
brew install maplibre-map-renderer
```

# How to build bottles

```
brew install --build-bottle --verbose pointrlabs/vendor/formula-name
brew bottle pointrlabs/vendor/formula-name
```

This will output the bottle stub that should be inserted into the formula. It will also produce the tar.gz archive, which you should upload into Releases section of the target repo. A couple more things to be careful about:
- Before uploading, you may need to rename the archive to be like `maplibre-map-renderer-1.1.arm64_sequoia.bottle.tar.gz` (there are sometimes extra dashes, or unnecessary revision numbers, which should be removed).
- You will need to update `root_url` to match the repo you are uploading the bottle to. This root url will contain the git tag as its last part with `%2F` as slashes (if your tag contains slashes). An example: `https://github.com/pointrlabs/maplibre-gl-native/releases/download/version%2Fmap-renderer%2F1.1`

0 comments on commit 60d729f

Please sign in to comment.