mas/script/build_artifacts

23 lines
427 B
Text
Raw Normal View History

2020-09-07 15:26:13 +00:00
#!/bin/bash -e
#
# script/build_artifacts
# mas
#
# Runs all related scripts for generating all artifacts.
#
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
MAS_VERSION="$(script/version)"
2020-09-07 15:26:13 +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