Files
CommandTabFree/scripts/travis.sh
T

24 lines
605 B
Bash
Executable File

#!/usr/bin/env bash
set -exu
env | sort
npm ci
brew install jq
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/update_appcast.sh
npx semantic-release
else
scripts/codesign/setup_ci_pr.sh
xcodebuild -workspace alt-tab-macos.xcworkspace -scheme Debug -derivedDataPath DerivedData
fi