Skip to content

Commit faf6d57

Browse files
authored
release: update Homebrew tap (#1374)
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`.
2 parents f89105b + ca5b170 commit faf6d57

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release-homebrew.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ jobs:
99
environment: release
1010
steps:
1111
- name: Update Homebrew tap
12-
uses: mjcheetham/update-homebrew@v1.3
12+
uses: mjcheetham/update-homebrew@v1.4
1313
with:
1414
token: ${{ secrets.HOMEBREW_TOKEN }}
15-
tap: microsoft/git
16-
name: git-credential-manager-core
15+
tap: Homebrew/homebrew-cask
16+
name: git-credential-manager
1717
type: cask
18+
alwaysUsePullRequest: true
1819
releaseAsset: |
1920
gcm-osx-x64-(.*)\.pkg
2021
gcm-osx-arm64-(.*)\.pkg

docs/install.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,21 @@ you have installed this using Homebrew, this installation will be unlinked
1414
#### Install
1515

1616
```shell
17-
brew tap microsoft/git
18-
brew install --cask git-credential-manager-core
17+
brew install --cask git-credential-manager
1918
```
2019

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

2322
```shell
24-
brew upgrade git-credential-manager-core
23+
brew upgrade --cask git-credential-manager
2524
```
2625

2726
#### Uninstall
2827

2928
To uninstall, run the following:
3029

3130
```shell
32-
brew uninstall --cask git-credential-manager-core
31+
brew uninstall --cask git-credential-manager
3332
```
3433

3534
---

0 commit comments

Comments
 (0)