Skip to content

Commit

Permalink
release: update Homebrew tap (#1374)
Browse files Browse the repository at this point in the history
GCM has migrated from the `microsoft/homebrew-git` tap to the
`Homebrew/homebrew-cask` tap. This change contains two related updates:

1. The `release-homebrew` workflow now publishes to
`Homebrew/homebrew-cask`.
2. The docs now instruct users to install from the new tap.

The workflow updates were [tested in my
fork](https://github.com/ldennington/homebrew-cask/pull/5/files). There
is also a [corresponding PR in
`microsoft/homebrew-git`](microsoft/homebrew-git#73)
that will ensure users currently set up to upgrade from the
`microsoft/homebrew-git` tap will be automatically re-directed to
`Homebrew/homebrew-cask`.
  • Loading branch information
ldennington authored Aug 11, 2023
2 parents f89105b + ca5b170 commit faf6d57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-homebrew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ jobs:
environment: release
steps:
- name: Update Homebrew tap
uses: mjcheetham/update-homebrew@v1.3
uses: mjcheetham/update-homebrew@v1.4
with:
token: ${{ secrets.HOMEBREW_TOKEN }}
tap: microsoft/git
name: git-credential-manager-core
tap: Homebrew/homebrew-cask
name: git-credential-manager
type: cask
alwaysUsePullRequest: true
releaseAsset: |
gcm-osx-x64-(.*)\.pkg
gcm-osx-arm64-(.*)\.pkg
7 changes: 3 additions & 4 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,21 @@ you have installed this using Homebrew, this installation will be unlinked
#### Install

```shell
brew tap microsoft/git
brew install --cask git-credential-manager-core
brew install --cask git-credential-manager
```

After installing you can stay up-to-date with new releases by running:

```shell
brew upgrade git-credential-manager-core
brew upgrade --cask git-credential-manager
```

#### Uninstall

To uninstall, run the following:

```shell
brew uninstall --cask git-credential-manager-core
brew uninstall --cask git-credential-manager
```

---
Expand Down

0 comments on commit faf6d57

Please sign in to comment.