Skip to content

Commit

Permalink
Update packaging/release docs
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Dibowitz <[email protected]>
  • Loading branch information
jaymzh committed Apr 26, 2024
1 parent d1a2b25 commit f832e32
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
13 changes: 10 additions & 3 deletions RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,22 @@
* Build a gem: `gem build sugarjar.gemspec`
* Push the gem: `gem push sugarjar-${version?}.gem`

## Publish GH Release

Go to release, add new one.

## Publish Fedora builds

See [packaging/README.md](packaging/README.md).
See [packaging/README-fedora.md](packaging/README-fedora.md).

## Notify Debian/Ubuntu packager

Ping Michel Lind

## Update Homebrew

Open a PR against the [Homebrew
Formula](https://github.com/Homebrew/homebrew-core/blob/master/Formula/s/sugarjar.rb).
See [packaging/README-brew.md](packaging/README-brew.md).

## Notify AUR packager

Ping Zeal Wierslee
35 changes: 35 additions & 0 deletions packaging/README-brew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Homebrew Packaging Notes

## Prep PR

* Edit
`/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/s/sugarjar.rb`
modifying the version and the sha. See [previous
example](https://github.com/Homebrew/homebrew-core/pull/162477)
* Commit, make the title "sugarjar $VERSION"

## Test

Do a install from source:

```shell
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source sugarjar
```

Then test:

```shell
brew test sugarjar
brew audit --strict sugarjar
```

## Make PR

The real upstream has to be called `origin` in Homebrew, so push to our
forked remote:

```shell
git push jaymzh <branchname>
```

And make the PR from the webUI.
File renamed without changes.

0 comments on commit f832e32

Please sign in to comment.