Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/carthage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export XCODE_XCCONFIG_FILE=$PWD/scripts/carthage.xcconfig
carthage build --no-skip-current
carthage archive Mixpanel
2 changes: 2 additions & 0 deletions scripts/carthage.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8
EXCLUDED_ARCHS=$(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))
File renamed without changes.
5 changes: 2 additions & 3 deletions release.py → scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def replace_version(file_name, old_version, new_version):
f.write(file_str)

def generate_docs():
subprocess.call('./generate_docs.sh', shell=True)
subprocess.call('./scripts/generate_docs.sh', shell=True)
subprocess.call('git add docs', shell=True)
subprocess.call('git commit -m "Update docs"', shell=True)
subprocess.call('git push', shell=True)
Expand All @@ -43,8 +43,7 @@ def pushPod():
subprocess.call('pod trunk push Mixpanel-swift.podspec --allow-warnings', shell=True)

def build_Carthage():
subprocess.call('carthage build --no-skip-current', shell=True)
subprocess.call('carthage archive Mixpanel', shell=True)
subprocess.call('./scripts/carthage.sh', shell=True)

def main():
bump_version()
Expand Down