Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1022 Bytes

File metadata and controls

60 lines (43 loc) · 1022 Bytes

Releasing git-sync-all

1. Commit and tag

git add -A
git commit -m "your commit message"
git tag v1.x.0

2. Push to all remotes

git push origin main --tags
git push gitlab main --tags
git push codeberg main --tags

3. Create a GitHub release

gh release create v1.x.0 --title "v1.x.0" --generate-notes

4. Get the tarball SHA256

curl -sL https://github.com/jweisner/git-sync-all/archive/refs/tags/v1.x.0.tar.gz | sha256sum

5. Update the Homebrew tap

Clone or pull the tap repo:

cd /path/to/homebrew-git-sync-all   # or: gh repo clone jweisner/homebrew-git-sync-all

Edit Formula/git-sync-all.rb — update url and sha256:

url "https://github.com/jweisner/git-sync-all/archive/refs/tags/v1.x.0.tar.gz"
sha256 "<sha256 from step 4>"

Commit and push:

git add Formula/git-sync-all.rb
git commit -m "Update git-sync-all to v1.x.0"
git push

6. Verify

brew update
brew upgrade git-sync-all
git-sync-all --help