Skip to content

Commit 5eb9136

Browse files
authored
Update how to update homebrew (PowerShell#17798)
1 parent bf9b4db commit 5eb9136

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

docs/maintainers/releasing.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -215,30 +215,10 @@ There are 2 homebrew formulas: main and preview.
215215

216216
Update it on stable releases.
217217

218-
1. Make sure that you have [homebrew cask](https://caskroom.github.io/).
219-
1. `brew update`
220-
1. `cd /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/Casks`
221-
1. Edit `./powershell.rb`, reference [file history](https://github.com/vors/homebrew-cask/commits/master/Casks/powershell.rb) for the guidelines:
222-
1. Update `version`
223-
1. Update `sha256` to the checksum of produced `.pkg` (note lower-case string for the consistent style)
224-
1. Update `checkpoint` value. To do that run `brew cask _appcast_checkpoint --calculate 'https://github.com/PowerShell/PowerShell/releases.atom'`
225-
1. `brew cask style --fix ./powershell.rb`, make sure there are no errors
226-
1. `brew cask audit --download ./powershell.rb`, make sure there are no errors
227-
1. `brew cask upgrade powershell`, make sure that powershell was updates successfully
228-
1. Commit your changes, send a PR to [homebrew-cask](https://github.com/caskroom/homebrew-cask)
218+
1. Wait for a PR to show up in https://github.com/powershell/homebrew-tap, review and merge it.
229219

230220
### Preview
231221

232222
Update it on preview releases.
233223

234-
1. Add [homebrew cask versions](https://github.com/Homebrew/homebrew-cask-versions): `brew tap homebrew/cask-versions`
235-
1. `brew update`
236-
1. `cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions/Casks`
237-
1. Edit `./powershell-preview.rb`:
238-
1. Update `version`
239-
1. Update `sha256` to the checksum of produced `.pkg` (note lower-case string for the consistent style)
240-
1. Update `checkpoint` value. To do that run `brew cask _appcast_checkpoint --calculate 'https://github.com/PowerShell/PowerShell/releases.atom'`
241-
1. `brew cask style --fix ./powershell-preview.rb`, make sure there are no errors
242-
1. `brew cask audit --download ./powershell-preview.rb`, make sure there are no errors
243-
1. `brew cask upgrade powershell-preview`, make sure that powershell was updates successfully
244-
1. Commit your changes, send a PR to [homebrew-cask-versions](https://github.com/Homebrew/homebrew-cask-versions)
224+
1. Wait for a PR to show up in https://github.com/powershell/homebrew-tap, review and merge it.

0 commit comments

Comments
 (0)