Files
SWCompression/Utils/ci-before-deploy.sh
T
Timofey Solomko 8a8aaf1593 Several deployment-related changes
Remove .swift-version file (it's deprecated by Cocoapods), run deploy phase in CI using xcode 11.3, remove extra swift build in CI deploy phase (sourcekitten now runs it itself), adjusted swift_versions setting in podspec, fix builds in linux CI by specifying swift version in the config.
2020-03-20 09:56:21 +03:00

17 lines
516 B
Bash
Executable File

#!/bin/bash
set -euxo pipefail
(set +x; echo "=> Removing bcsymbolmap files for dependencies.")
rm -f Carthage/Build/Mac/*.bcsymbolmap
rm -f Carthage/Build/watchOS/*.bcsymbolmap
rm -f Carthage/Build/tvOS/*.bcsymbolmap
rm -f Carthage/Build/iOS/*.bcsymbolmap
(set +x; echo "=> Removing checkouts for dependencies.")
rm -rf Carthage/Checkouts
(set +x; echo "=> Preparing deployment files.")
carthage build --no-skip-current
carthage archive SWCompression
sourcekitten doc --spm-module SWCompression > docs.json
jazzy