mas icon indicating copy to clipboard operation
mas copied to clipboard

🚀 Release Action

Open phatblat opened this issue 4 years ago • 4 comments

Steps

  1. Build
  2. Test
  3. Package
  4. Upload macOS package to GitHub release

Homebrew

  1. Update tag and revision in formula
  2. Copy new formula to homebrew-core repo (use mas-cli fork)
  3. Build brew core formula from source
    • prevent or redirect install to build dir?
  4. Test
  5. Lint
  6. Open PR to homebrew-core repo
    • title: mas

Custom Tap

  1. Update tag and revision in formula
  2. Copy new formula to mas-cli/homebrew-tap
  3. Build brew core bottle from source
    • prevent or redirect install to build dir?
  4. Test
  5. Lint
  6. Open PR to mas-cli/homebrew-tap repo
    • title: mas

Lots of identical steps, just different data between the brew taps

phatblat avatar May 08 '21 05:05 phatblat

Is script/bottle meant to upload bottles to a package repository, or just generate them locally to .build/bottles?

chris-araman avatar May 08 '21 23:05 chris-araman

It just builds them. Uploading to Bintray was an easy drag-n-drop so I never got around to automating it

phatblat avatar May 09 '21 06:05 phatblat

GitHub Releases is drag-and-drop as well, although I think we can automate it with a POST using curl.

chris-araman avatar May 09 '21 06:05 chris-araman