diff --git a/.travis.yml b/.travis.yml index fe5d1bdd..5dd8dab3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,5 +5,5 @@ osx_image: - xcode12u script: - set -o pipefail && xcodebuild -scheme Sparkle -configuration Release -derivedDataPath build -archivePath build/Build/Products/Release/Sparkle.xcarchive BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO archive | xcpretty - - set -o pipefail && xcodebuild -create-xcframework -framework build/Build/Products/Release/Sparkle.xcarchive/Products/Library/Frameworks/Sparkle.framework -output build/Build/Products/Release/Sparkle.xcframework | xcpretty - - set -o pipefail && xcodebuild test -project Sparkle.xcodeproj -scheme Distribution -derivedDataPath build -enableCodeCoverage YES | xcpretty + - set -o pipefail && xcodebuild -create-xcframework -framework build/Build/Products/Release/Sparkle.xcarchive/Products/Library/Frameworks/Sparkle.framework -output build/Build/Products/Release/Sparkle.xcframework + - set -o pipefail && xcodebuild test -project Sparkle.xcodeproj -scheme Distribution -derivedDataPath build -enableCodeCoverage YES diff --git a/Configurations/make-release-package.sh b/Configurations/make-release-package.sh index 4749f13d..bccec945 100755 --- a/Configurations/make-release-package.sh +++ b/Configurations/make-release-package.sh @@ -1,5 +1,6 @@ #!/bin/bash set -e +pwd if [ "$ACTION" = "" ] ; then # If using cocoapods, sanity check that the Podspec version matches the Sparkle version @@ -50,6 +51,8 @@ if [ "$ACTION" = "" ] ; then # Generate zip containing the xcframework for SPM cd "$CONFIGURATION_BUILD_DIR/staging-spm" + pwd + ls ../.. #rm -rf "$CONFIGURATION_BUILD_DIR/Sparkle.xcarchive" zip -rqyX -9 "../Sparkle-SPM-$CURRENT_PROJECT_VERSION.zip" * # Generate new Package manifest