Files
CommandTabFree/scripts/travis.sh
T
2020-07-22 23:19:45 +09:00

26 lines
659 B
Bash
Executable File

#!/usr/bin/env bash
set -exu
env | sort
npm ci
npx commitlint-travis
scripts/ensure_generated_files_are_up_to_date.sh
if [ $IS_RELEASE ]; then
scripts/determine_version.sh
scripts/replace_environment_variables_in_app.sh
scripts/codesign/setup_ci_master.sh
xcodebuild -workspace alt-tab-macos.xcworkspace -scheme Release -derivedDataPath DerivedData
scripts/package_and_notarize_release.sh
scripts/upload_symbols_to_appcenter.sh
scripts/update_appcast.sh
npx semantic-release
scripts/update_website.sh
else
scripts/codesign/setup_ci_pr.sh
xcodebuild -workspace alt-tab-macos.xcworkspace -scheme Debug -derivedDataPath DerivedData
fi