Commit graph

62 commits

Author SHA1 Message Date
Ross Goldberg
3b10909c2a
Delete script/bottle.
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:09 -05:00
Ross Goldberg
460718fe3e
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-12-20 13:27:08 -05:00
Ross Goldberg
c2f1bf8e8d
Simplify & standardize script output headers & mas version handling.
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:08 -05:00
Ross Goldberg
28266c4734
Simplify script/bottle.
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:08 -05:00
Ross Goldberg
019c9b9580
Rename OLD_FILENAME as generated_bottle_filename.
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:07 -05:00
Ross Goldberg
ce4205ee66
Write to stderr where appropriate.
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:07 -05:00
Ross Goldberg
b3dca79a93
Inline bash variables.
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:07 -05:00
Ross Goldberg
8fa8ae9493
Move bash variable to left of test.
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:07 -05:00
Ross Goldberg
4d05199fd2
Use bash '…', $'…', or unquoted word instead of "…" whenever possible.
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:07 -05:00
Ross Goldberg
542356936d
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-12-20 13:27:06 -05:00
Ross Goldberg
fc753f69b2
Replace bash test with [[ ]].
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:06 -05:00
Ross Goldberg
3205a6d2f4
Fix bash subcommand completion.
Use double quotes around bash & fish substitutions.

Use braces around bash variable uses.

Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-20 13:27:06 -05:00
Ross Goldberg
615be3b8e1
Use short/abbreviated options for consistency.
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-13 11:09:41 -05:00
Ross Goldberg
16dd4328ab
script/bottle: reword "better" as "newer".
Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-12-13 11:09:40 -05:00
Ben Chatelain
7d0f0a8fbd
🍎 Add macOS sequoia to bottle script 2024-11-03 10:59:31 -07:00
Ben Chatelain
750930e01a
Merge branch 'main' into releases/release-1.8.7
# Conflicts:
#	.swiftlint.yml
#	script/bottle
2024-11-02 12:08:50 -06:00
Ross Goldberg
f83412bba1
Increase minimum macOS version to 10.13, since Swift 5.7 is already used, which requires Xcode 14+ to compile, which only supports macOS deployment targets 10.13+.
Use Swift 5.7.1, which is the newest version of Swift 5.7.

Resolve #578

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-27 14:01:45 -04:00
Ben Chatelain
3332773c1b
🔊 Echo commands in bottle script 2024-10-26 14:23:59 -06:00
Ben Chatelain
635898dd18
🔨 Change style to use file path
Removed brew list command as that only works with installed formulae
2024-10-26 14:23:10 -06:00
Ben Chatelain
5b8fed8bee
🔨 Remove install and enhance audit command 2024-10-26 14:07:17 -06:00
Ben Chatelain
aa394e489e
🩹 Install formula so we can audit it 2024-10-20 12:09:37 -06:00
Ben Chatelain
d202441a63
♻️ Add tap and re-clone with token 2024-08-03 14:47:08 -06:00
Ben Chatelain
0578f0c850
♻️ Pull tap git commands up into workflow 2024-07-31 21:04:54 -06:00
Ben Chatelain
34ab84f30e
🚨 Format scripts and yaml 2024-03-31 11:05:04 -06:00
Ben Chatelain
246636cb10
🔥 Remove Finder open command from bottle script 2024-03-30 11:39:32 -06:00
Ben Chatelain
37cf3116b1
🔨 Invoke bottle script from brew_tap_update 2024-03-10 19:53:07 -06:00
Ben Chatelain
c0950b130b
♻️ Split workflow into 4 jobs 2024-03-10 19:33:50 -06:00
Ben Chatelain
4ef176cbc7
🩹 Remove extra end paren from CURRENT_OS_VERSION_MINOR 2024-03-09 08:17:50 -07:00
Ben Chatelain
666e505eb1 🎨 Format bash scripts 2024-02-18 08:22:24 -07:00
Ben Chatelain
2a02cee76c 🔨 Add sonoma & ventura to bottle script 2024-02-18 08:22:24 -07:00
Ben Chatelain
40d3cfde0d 🔨 Rename MAS_VERSION variable 2024-02-18 08:22:24 -07:00
Ben Chatelain
8076c660f1 👌🏻 Fix untested OS branches in bottle script 2024-02-18 08:22:24 -07:00
Ben Chatelain
742e054cc9 🔨 Add support for sonoma & ventura to bottle script 2024-02-18 08:22:24 -07:00
Chris Araman
b073c740ed 🧹 Lint 2021-11-11 18:09:51 -08:00
Chris Araman
4295d9c998 🍼 Check style 2021-11-11 18:09:51 -08:00
Chris Araman
766c152e21 🍼 Audit formula before bottling 2021-11-11 18:09:51 -08:00
Chris Araman
3e771a289c 🍼 Use the custom tap formula when bottling for the custom tap 2021-11-11 18:09:51 -08:00
Chris Araman
8a939a821f
🍺 Include Monterey in bottle builds 2021-10-25 16:59:01 -07:00
Ben Chatelain
ba45912f73 🔊 Fail bottle script earlier when formula hasn't been updated 2021-09-08 18:29:41 -07:00
Chris Araman
726b1868f2 🧹 Restore shellcheck (0.7.2) 2021-06-08 19:49:02 -07:00
Chris Araman
9dfa2f8b57 🍺 Publish bottles to GitHub Releases 2021-05-08 19:53:11 -07:00
Chris Araman
c93694017f
📜 Build Swift Package from scripts 2021-04-28 19:14:15 -07:00
Chris Araman
969f4e468c
📦 Declare Swift Package dependencies 2021-04-26 21:04:36 -07:00
Ben Chatelain
97ca112a6f 🚨 Fix script format & lint issues 2021-03-28 22:09:52 -07:00
Ben Chatelain
0667919cfa 📜 Add OS version detection
Only big_sur and catalina allowed
2021-03-28 21:48:10 -07:00
Ben Chatelain
799c18e327 👌🏻 Use macOS uname syntax 2021-03-28 21:13:59 -07:00
Ben Chatelain
3d54be18ad 📜 Use uname to determine CPU 2021-03-28 20:05:00 -07:00
Ben Chatelain
eb76a2efa5 💪🏼 Add arm64_big_sur to bottle script
Fixes #333
2021-03-28 19:44:25 -07:00
Chris Araman
64695e2457
📜 Lint 2021-03-28 14:12:02 -07:00
Ben Chatelain
fcc6bf1666 🔥 Mintfile 2021-03-28 13:39:05 -07:00