mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
* Undo non-working Mac OS CI build fix in build_dist.sh * Implement CPack workaround for CMake PR #4769 * Fix typo in scripts/ci/package.sh * Fix typo in scripts/ci/package.sh * Add debug option for hdiutil_repeat.sh * Make reviewer changes * Change typo in package.sh with hdiutil script name. * Change path reference in package.sh to use $PWD. * Add strings to escape path in scripts/ci/package.sh * Fix scripts/ci/macos/repeat_hdiutil.sh * Remove -e option. Don't copy/paste without double checking closely I guess. 😐 * 💲 Add dollar signs where appropriate as reviewers pointed out. * Replace until/do contents with easier to read if block. * Cleanup readability of scripts/ci/macos/repeat_hdiutil.sh * Add $wait_before_retry config value * Replace $cmd_string with literal value * Move do onto same line as until. * Minor changes to fix for MacOS CMake builds * Rename variable in scripts/ci/macos/repeat_hdiutil.sh * Use . instead of pwd in package.sh Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
18 lines
470 B
Bash
Executable File
18 lines
470 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
((${BASH_VERSION%%.*} >= 4)) || { echo >&2 "$0: Error: Please upgrade Bash."; exit 1; }
|
|
|
|
set -euxo pipefail
|
|
|
|
cd build
|
|
|
|
if [[ "${OSTYPE}" == msys* && ${GIT_BRANCH} == release* ]]; then # Windows
|
|
cmake --build . --target innosetup --config "${AUDACITY_BUILD_TYPE}"
|
|
else
|
|
export CPACK_COMMAND_HDIUTIL="./macos/repeat_hdiutil.sh"
|
|
cpack -C "${AUDACITY_BUILD_TYPE}" --verbose
|
|
fi
|
|
|
|
# Remove the temporary directory
|
|
rm -Rf package/_CPack_Packages
|