forked from git-for-windows/git
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #301: Update 'git maintenance' to match upstream
This PR updates our `vfs-2.29.0` branch's version of `git maintenance` to match the latest in upstream. Unfortunately, not all of these commits made it to the `2.30` release candidate, but there are more commits from the series making it in. They will cause a conflict in the `vfs-2.30.0` rebase, so merge them in here. This also includes the `fixup!` reverts of the earlier versions. Finally, I also noticed that we started depending on `git maintenance start` in Scalar for macOS, but we never checked that this worked with the shared object cache. It doesn't! 😨 The very tip commit of this PR includes logic to make `git maintenance run` care about `gvfs.sharedCache`. Functional test updates in Scalar will follow.
- Loading branch information
Showing
2 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Update Homebrew Tap | ||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: version | ||
name: Compute version number | ||
run: | | ||
echo "::set-output name=result::$(echo $GITHUB_REF | sed -e "s/^refs\/tags\/v//")" | ||
- id: hash | ||
name: Compute release asset hash | ||
uses: mjcheetham/asset-hash@v1 | ||
with: | ||
asset: /git-(.*)\.pkg/ | ||
hash: sha256 | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Update scalar Cask | ||
uses: mjcheetham/update-homebrew@v1.1 | ||
with: | ||
token: ${{ secrets.HOMEBREW_TOKEN }} | ||
tap: microsoft/git | ||
name: microsoft-git | ||
type: cask | ||
version: ${{ steps.version.outputs.result }} | ||
sha256: ${{ steps.hash.outputs.result }} | ||
alwaysUsePullRequest: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters