From f832e32bbf6ab99a5c4c276ca34d7e8927bef250 Mon Sep 17 00:00:00 2001 From: Phil Dibowitz Date: Fri, 26 Apr 2024 14:55:47 -0700 Subject: [PATCH] Update packaging/release docs Signed-off-by: Phil Dibowitz --- RELEASE_PROCESS.md | 13 +++++++-- packaging/README-brew.md | 35 +++++++++++++++++++++++ packaging/{README.md => README-fedora.md} | 0 3 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 packaging/README-brew.md rename packaging/{README.md => README-fedora.md} (100%) diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index abad0b6..6483325 100644 --- a/RELEASE_PROCESS.md +++ b/RELEASE_PROCESS.md @@ -22,9 +22,13 @@ * 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 @@ -32,5 +36,8 @@ 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 diff --git a/packaging/README-brew.md b/packaging/README-brew.md new file mode 100644 index 0000000..8c9fcbe --- /dev/null +++ b/packaging/README-brew.md @@ -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 +``` + +And make the PR from the webUI. diff --git a/packaging/README.md b/packaging/README-fedora.md similarity index 100% rename from packaging/README.md rename to packaging/README-fedora.md