From 82dd1a5cc54d0af22ceacaf257d8bb8fcb5a39e8 Mon Sep 17 00:00:00 2001 From: Masayuki Ono Date: Mon, 12 Oct 2020 11:50:47 +0900 Subject: [PATCH] Drop Xcode 10 support --- Makefile | 7 +------ release.sh | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 22276a81..d9fb51f9 100644 --- a/Makefile +++ b/Makefile @@ -5,11 +5,6 @@ TEMPORARY_FOLDER=./tmp_portable_licenseplist build: swift build --disable-sandbox -c release -# For CocoaPods distribution -# Works only on Xcode 10.1(Swift 4.2) or earlier -build_legacy: - swift build --disable-sandbox -c release -Xswiftc -static-stdlib - test: swift test @@ -26,7 +21,7 @@ install: build mkdir -p "$(PREFIX)/bin" cp -f ".build/release/license-plist" "$(PREFIX)/bin/license-plist" -portable_zip: build_legacy +portable_zip: build mkdir -p "$(TEMPORARY_FOLDER)" cp -f ".build/release/license-plist" "$(TEMPORARY_FOLDER)/license-plist" cp -f "LICENSE" "$(TEMPORARY_FOLDER)" diff --git a/release.sh b/release.sh index 95f37443..ebd726bb 100755 --- a/release.sh +++ b/release.sh @@ -67,7 +67,7 @@ github-release upload \ rm $lib_name.zip # CocoaPods -DEVELOPER_DIR=/Applications/Xcode-10.1.app/Contents/Developer make portable_zip +make portable_zip portable_zip_name="portable_licenseplist.zip" github-release upload \ --user mono0926 \