2020-09-07 15:26:13 +00:00
|
|
|
#!/bin/bash -e
|
|
|
|
#
|
|
|
|
# script/build_artifacts
|
|
|
|
# mas
|
|
|
|
#
|
|
|
|
# Runs all related scripts for generating all artifacts.
|
|
|
|
#
|
|
|
|
|
2024-11-16 04:21:37 +00:00
|
|
|
mas_dir="$(readlink -fn "$(dirname "${BASH_SOURCE:-"${0}"}")/..")"
|
|
|
|
|
|
|
|
if ! cd -- "${mas_dir}"; then
|
|
|
|
printf $'Error: Could not cd into mas directory: %s\n' "${mas_dir}" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2024-11-16 02:46:11 +00:00
|
|
|
MAS_VERSION="$(script/version)"
|
2020-09-07 15:26:13 +00:00
|
|
|
|
2024-11-16 02:46:11 +00:00
|
|
|
echo "Building mas ${MAS_VERSION} artifacts"
|
2020-09-07 15:26:13 +00:00
|
|
|
|
|
|
|
script/clean
|
2021-05-07 18:33:39 +00:00
|
|
|
script/build --universal
|
2020-09-07 15:26:13 +00:00
|
|
|
script/package
|