{
  "github": {
    "release": true,
    "assets": "brew-distribution/*.zip"
  },
  "buildCommand": "yarn package",
  "hooks": {
    "before:bump": "yarn declarations; yarn build:schemas; yarn package",
    "after:release": "VERSION=${version} scripts/create-homebrew-tap-pr.sh"
  }
}

{
  "github": {
    "release": true,
    "assets": "brew-distribution/*.zip"
  },
  "buildCommand": "yarn package",
  "hooks": {
    "before:bump": "yarn declarations; yarn build:schemas",
    "after:bump": "yarn package",
    "after:release": "VERSION=${version} scripts/create-homebrew-tap-pr.sh"
  }
}

Build package after bumping version
Build package after bumping version
