2
0
Fork 0
mirror of https://github.com/mas-cli/mas synced 2025-03-06 23:57:21 +00:00

Merge pull request from rgoldberg/717-scripts

Improvements
This commit is contained in:
Ross Goldberg 2025-01-16 19:10:32 -05:00 committed by GitHub
commit fad1556e33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 17 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# .swiftlint.yml
# mas
#
# SwiftLint 0.58.0
# SwiftLint 0.58.2
#
# https://github.com/realm/SwiftLint#configuration
#

View file

@ -41,8 +41,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/mxcl/PromiseKit.git",
"state" : {
"revision" : "6fcc08077124e9747f1ec7bd8bb78f5caffe5a79",
"version" : "8.1.2"
"revision" : "2bc44395edb4f8391902a9ff7c220471882a4d07",
"version" : "8.2.0"
}
},
{

View file

@ -21,7 +21,7 @@ let package = Package(
.package(url: "https://github.com/Quick/Quick.git", from: "5.0.1"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
.package(url: "https://github.com/funky-monkey/IsoCountryCodes.git", from: "1.0.2"),
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "8.1.2"),
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "8.2.0"),
.package(url: "https://github.com/mxcl/Version.git", from: "2.1.0"),
.package(url: "https://github.com/sharplet/Regex.git", from: "2.1.1"),
],

View file

@ -34,7 +34,7 @@ sudo port install mas
⚠️ macOS 10.15 (Catalina) or newer is required to install mas from MacPorts.
### ☎️ Older macOS Versions
### 🧮 Older macOS Versions
#### 🍻 Custom Homebrew tap
@ -263,10 +263,10 @@ docs for more details.
mas uses multiple undocumented Apple private frameworks to implement much of its functionality.
Over time, Apple has silently changed these frameworks, breaking some functionality. Known issues include:
- ⛔ The `signin` command is not supported on macOS 10.13 (High Sierra) or newer. [#164](
- ⛔ The `signin` command is not supported on macOS 10.13 (High Sierra) or newer. [#164](
https://github.com/mas-cli/mas/issues/164
)
- ⛔ The `account` command is not supported on macOS 12 (Monterey) or newer. [#417](
- ⛔ The `account` command is not supported on macOS 12 (Monterey) or newer. [#417](
https://github.com/mas-cli/mas/issues/417
)

View file

@ -2,7 +2,7 @@
# .swiftlint.yml
# masTests
#
# SwiftLint 0.58.0
# SwiftLint 0.58.2
#
# https://github.com/realm/SwiftLint#configuration
#

View file

@ -16,4 +16,5 @@ if ! command -v brew >/dev/null; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
brew update
brew bundle install --verbose "${@}"

View file

@ -8,7 +8,7 @@
. "${0:a:h}/_setup_script"
printf $'==> 🏗 Building mas %s\n' "$(script/version)"
printf $'==> 🏗 Building mas %s\n' "$(script/version)"
script/generate_package_swift "${1:-}"

View file

@ -41,6 +41,12 @@ printf -- $'--> 🐚 ShellCheck\n'
shellcheck -s bash -o all -e SC1088,SC1102,SC2066,SC2296,SC2299,SC2300,SC2301,SC2312 -a -P SCRIPTDIR script/**/*(.)
((exit_code |= ${?}))
printf -- $'--> 💤 zsh syntax\n'
for script in script/**/*(.); do
/bin/zsh -n "${script}"
((exit_code |= ${?}))
done
printf -- $'--> 〽️ Markdown\n'
markdownlint --config .markdownlint.json . docs
((exit_code |= ${?}))

View file

@ -12,7 +12,7 @@
tag="${1}"
printf $'==> 🚀 Canceling release for tag %s\n\n' "${tag}"
printf $'==> Canceling release for tag %s\n\n' "${tag}"
bump_url="$(gh release -R https://github.com/mas-cli/mas download "${tag}" -p bump.url -O - 2>/dev/null || true)"
if [[ -n "${bump_url}" ]]; then