Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mas 1.9.0 #203180

Merged
merged 2 commits into from
Jan 4, 2025
Merged

mas 1.9.0 #203180

merged 2 commits into from
Jan 4, 2025

Conversation

rgoldberg
Copy link
Contributor

@rgoldberg rgoldberg commented Jan 4, 2025

I am a maintainer of mas.

The changes in this PR are necessary for the mas formula to build 1.9.0 properly.

Someone else opened a bump PR #203170. That will not build. Please close it.

Required build changes for mas 1.9.0:

  1. Pass homebrew/core/mas as an argument for script/build to indicate that mas was installed from Homebrew core, so it can be reported by the new mas config command.

  2. brew bump-formula-pr … has a dirty working tree, which now causes mas to append a + to its version, which, while useful when switching between multiple mas executables during development, breaks the attempted bump.

The build now accepts a new MAS_DIRTY_INDICATOR environment variable whose value replaces the +. The build assigns an empty string to ensure the version has no suffix.

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

Includes required build changes for mas 1.9.0:

1) Pass `homebrew/core/mas` as an argument for `script/build` to
indicate that mas was installed from Homebrew core, so it can be
reported by the new `mas config` command.

2) `brew test-bot --only-formulae` leaves a dirty working tree, which
will now cause mas to append a `+` to its version, which is useful when
switching between multiple `mas` executables during development.

The build now accepts a new `MAS_DIRTY_INDICATOR` environment variable
whose value replaces the `+`. The build assigns an empty string to
ensure the version has no suffix.

Signed-off-by: Ross Goldberg <[email protected]>
@github-actions github-actions bot added the macos-only Formula depends on macOS label Jan 4, 2025
@rgoldberg rgoldberg mentioned this pull request Jan 4, 2025
Copy link
Member

@nandahkrishna nandahkrishna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Contributor

github-actions bot commented Jan 4, 2025

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jan 4, 2025
@BrewTestBot BrewTestBot enabled auto-merge January 4, 2025 15:23
@BrewTestBot BrewTestBot added this pull request to the merge queue Jan 4, 2025
Merged via the queue into Homebrew:master with commit 3b92a0a Jan 4, 2025
15 checks passed
@rgoldberg rgoldberg deleted the mas-1.9.0 branch January 4, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. macos-only Formula depends on macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants