Ben Chatelain
401c82b28d
🩹 Use tag name to calculate PRE_RELEASE value
...
The MAS_VERSION env var isn't made available to the pre_release step
2024-11-17 11:35:31 -07:00
Ben Chatelain
d6978a2931
🩹 Add --no-fork to bump-formula-pr args for tap
2024-11-17 11:20:40 -07:00
Ben Chatelain
2e4f744224
🩹 Tap mas before bumping version
2024-11-17 11:09:39 -07:00
Ben Chatelain
ac0bac0430
🔥 Remove boolean arg from bump-formula-pr command
2024-11-17 11:07:52 -07:00
Ben Chatelain
2e948d4d87
⏪ Restore checkout step on pkg-installer job
2024-11-17 11:03:14 -07:00
Ben Chatelain
bdcb99f236
🩹 Fix path to universal artifact
2024-11-17 10:55:55 -07:00
Ross Goldberg
f697098e91
release.yml
: improve comments, remove unnecessary environment variables, and reorder some settings.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-17 05:17:06 -05:00
Ross Goldberg
b2b0735815
Make brew bump-formula-pr
usages consistent.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 23:49:18 -05:00
Ross Goldberg
bc7e78c85a
Cleanup homebrew-core
release job.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 23:48:40 -05:00
Ross Goldberg
e22559c910
Just bump custom tap formula.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 23:47:30 -05:00
Ross Goldberg
1acd684ab1
Delete script/bottle
.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 23:43:15 -05:00
Ross Goldberg
efb47e9ce1
Remove obsolete Makefile
target.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 23:41:48 -05:00
Ross Goldberg
2b9342e5fe
Fix Makefile
comment.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 23:41:18 -05:00
Ross Goldberg
8306c6eb2c
Unfinished: Only bump formulae; don't generate them or store them in git.
...
Obtain version & revision from most recent version tag in the current branch, not from environment variable or argument.
Do not branch or commit on release.
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 19:12:32 -05:00
Ross Goldberg
f57c9054c4
Rename script/version_bump
as script/generate_version_info_for_swift
.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 19:10:06 -05:00
Ross Goldberg
36d40d99d7
Simplify & standardize script output headers & mas version handling.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 15:49:01 -05:00
Ross Goldberg
d2fabf65fa
Cleanup .editorconfig
.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:13 -05:00
Ross Goldberg
a0c9222813
Simplify script/bottle
.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:13 -05:00
Ross Goldberg
602131df1d
Only set bash variables once.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:13 -05:00
Ross Goldberg
8338d0b5de
Rename OLD_FILENAME
as generated_bottle_filename
.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:13 -05:00
Ross Goldberg
ea26b72d91
Suppress output for class-dump
executable check.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:12 -05:00
Ross Goldberg
b96a0a71ba
Simplify script/update_headers
.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:12 -05:00
Ross Goldberg
53958a40c5
Write to stderr where appropriate.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:12 -05:00
Ross Goldberg
92660f665b
Inline bash variables.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:12 -05:00
Ross Goldberg
0ea3035324
Move bash variable to left of test.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:12 -05:00
Ross Goldberg
a4b7a64e0d
Use bash '…'
, $'…'
, or unquoted word instead of "…"
whenever possible.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:48:06 -05:00
Ross Goldberg
7cf316a718
Delete unnecessary bash comment.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:47:22 -05:00
Ross Goldberg
73a2b4a364
Ensure single newline at end of every file.
...
Ensure no newlines at beginning of any file.
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:47:22 -05:00
Ross Goldberg
6b1903cde9
cd
into root of mas project at beginning of every bash script.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:47:22 -05:00
Ross Goldberg
33559bff9a
Replace bash test
with [[ ]]
.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:47:21 -05:00
Ross Goldberg
7a260db279
Simplify defaults for unsupplied script arguments.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:47:21 -05:00
Ross Goldberg
f1a9cde9fd
Use double quotes around bash substitutions.
...
Use braces around bash variable uses.
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:47:15 -05:00
Ross Goldberg
5b96b77e22
Use short/abbreviated options for consistency.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:46:33 -05:00
Ross Goldberg
7523bc91d0
Update script usage output.
...
Fix acceptable argument count.
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:46:33 -05:00
Ross Goldberg
86a13bb5e6
Update Homebrew formula URL.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:46:33 -05:00
Ross Goldberg
b704d40ee1
If a bottle & its checksum are the same for multiple versions of the same OS, then a checksum is required only for the oldest OS version that shares that bottle/checksum; all later versions of the OS will use that checksum.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:46:32 -05:00
Ross Goldberg
0fe1837277
Fix typo.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:46:32 -05:00
Ross Goldberg
bff9ab52be
Install tools via Homebrew instead of via mise.
...
Remove mise.
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:46:32 -05:00
Ross Goldberg
b4e42b5dd6
Simplify script/bootstrap
.
...
We shouldn't need to delete `Brewfile.lock.json` because it doesn't actually lock anything; it just records versions that were installed.
If we don't delete it, new `brew bundle install` run just adds info about what was installed during its run to the existing info about previous bundle installs.
By not deleting, the code can be simplified as per this commit.
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:46:32 -05:00
Ross Goldberg
67ca8f5404
Improve script/lint
output.
...
Change YAML emoji to fix spacing issue.
Move YAML lint before Git lint to keep the names getting progressively shorter.
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 14:46:32 -05:00
Ross Goldberg
c91de70167
release.yml
: Check pre_release
once for all of homebrew-core
job instead of once per each step of that job.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 04:06:53 -05:00
Ross Goldberg
30962b322e
release.yml
: remove unnecessary output.
...
Remove commented code.
Improve step name.
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 04:06:52 -05:00
Ross Goldberg
a76a2288d2
Obtain path to tap via brew --repo mas-cli/tap
instead of hardcoding it.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 04:06:52 -05:00
Ross Goldberg
097d04c460
Upgrade Xcode dependency to 14.2.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-16 04:06:50 -05:00
Ross Goldberg
173b0a9d86
script/bottle
: reword "better" as "newer".
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-15 15:05:55 -05:00
Ross Goldberg
9f9923ea57
Makefile: Mirror bash by using ${…}
& $(…)
for all variables & command substitutions, respectively.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-15 13:19:06 -05:00
Ross Goldberg
1d1335a6f3
Output error to stderr instead of stdout.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-15 13:08:47 -05:00
Ross Goldberg
39c5ad0420
Remove seemingly unnecessary pushd
& popd
.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-15 13:08:46 -05:00
Ross Goldberg
88f2bffdf5
Remove unused $echo
variable.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-15 13:08:46 -05:00
Ross Goldberg
e62482cf42
clean
seems unnecessary in bootstrap
.
...
Partial #638
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-11-15 13:08:46 -05:00