From 61c5bd9e97b341d443c529de4d7fe944da09e564 Mon Sep 17 00:00:00 2001 From: LamineNdy Date: Wed, 13 Feb 2019 14:01:52 +0100 Subject: [PATCH] Release 1.1.4 --- .gitignore | 1 - AVPlayerDNAPlugin.json | 10 ++++++++++ AVPlayerDNAPlugin.podspec | 10 ++++++---- bin/build | 7 +++++++ release => bin/release | 0 bin/version | 3 +++ fastlane/Fastfile | 2 +- 7 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 AVPlayerDNAPlugin.json create mode 100755 bin/build rename release => bin/release (100%) create mode 100755 bin/version diff --git a/.gitignore b/.gitignore index d0c3e86..20912b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ .DS_Store .idea *.xcuserdatad -build Carthage ## Build generated diff --git a/AVPlayerDNAPlugin.json b/AVPlayerDNAPlugin.json new file mode 100644 index 0000000..cc75f7a --- /dev/null +++ b/AVPlayerDNAPlugin.json @@ -0,0 +1,10 @@ +{ + "1.0": "https://sdk.streamroot.io/ios/AVPlayerDNAPlugin/1.1.4/AVPlayerDNAPlugin.framework.zip", + "1.0.0": "https://sdk.streamroot.io/ios/AVPlayerDNAPlugin/1.0.0/AVPlayerDNAPlugin.framework.zip", + "1.1": "https://sdk.streamroot.io/ios/AVPlayerDNAPlugin/1.1.1/AVPlayerDNAPlugin.framework.zip", + "1.1.0": "https://sdk.streamroot.io/ios/AVPlayerDNAPlugin/1.1.0/AVPlayerDNAPlugin.framework.zip", + "1.1.1": "https://sdk.streamroot.io/ios/AVPlayerDNAPlugin/1.1.1/AVPlayerDNAPlugin.framework.zip", + "1.1.2": "https://sdk.streamroot.io/ios/AVPlayerDNAPlugin/1.1.2/AVPlayerDNAPlugin.framework.zip", + "1.1.3": "https://sdk.streamroot.io/ios/AVPlayerDNAPlugin/1.1.3/AVPlayerDNAPlugin.framework.zip", + "1.1.4": "https://sdk.streamroot.io/ios/AVPlayerDNAPlugin/1.1.4/AVPlayerDNAPlugin.framework.zip" +} \ No newline at end of file diff --git a/AVPlayerDNAPlugin.podspec b/AVPlayerDNAPlugin.podspec index fdf007d..ab306a7 100644 --- a/AVPlayerDNAPlugin.podspec +++ b/AVPlayerDNAPlugin.podspec @@ -1,19 +1,21 @@ - Pod::Spec.new do |s| s.name = 'AVPlayerDNAPlugin' s.version = '1.1.4' s.swift_version = '4.2' s.summary = 'Streamroot Distributed Network Architecture AVPlayer plugins, a new way to deliver large-scale OTT video' - s.homepage = 'https://github.com/streamroot/avplayer-dna-plugin' + s.homepage = 'https://www.streamroot.io/' s.author = { 'Name' => 'support-team@streamroot.io' } s.license = { :type => 'Copyright', :text => 'Copyright 2018 Streamroot. See the terms of service at https://www.streamroot.io/' } s.platform = :ios - s.source ={ :git => 'https://github.com/streamroot/avplayer-dna-plugin.git', :tag => "#{s.version}"} - s.source_files = 'PlayerDNAPlugin/Classes/*.swift' + s.source = { :http => "https://sdk.streamroot.io/ios/AVPlayerDNAPlugin/#{s.version}/AVPlayerDNAPlugin.framework.zip" } s.ios.deployment_target = '9.2' s.tvos.deployment_target = '10.2' +# s.source ={ :git => 'https://github.com/streamroot/avplayer-dna-plugin.git', :tag => "#{s.version}"} +# s.source_files = 'PlayerDNAPlugin/Classes/*.swift' + s.ios.vendored_frameworks = 'Carthage/Build/iOS/AVPlayerDNAPlugin.framework' + s.tvos.vendored_frameworks = 'Carthage/Build/tvOS/AVPlayerDNAPlugin.framework' s.dependency 'StreamrootSDK', '~> 3.9.0' end \ No newline at end of file diff --git a/bin/build b/bin/build new file mode 100755 index 0000000..4a00260 --- /dev/null +++ b/bin/build @@ -0,0 +1,7 @@ +#!/bin/bash + +base_dir=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd) +carthage build --no-skip-current --platform iOS,tvOS --configuration Release +carthage archive AVPlayerDNAPlugin --output AVPlayerDNAPlugin.framework.zip +aws s3 cp AVPlayerDNAPlugin.framework.zip s3://sdk.streamroot.io/ios/AVPlayerDNAPlugin/$($base_dir/version)/AVPlayerDNAPlugin.framework.zip --acl public-read +aws s3 cp AVPlayerDNAPlugin.json s3://sdk.streamroot.io/ios/AVPlayerDNAPlugin.json --acl public-read diff --git a/release b/bin/release similarity index 100% rename from release rename to bin/release diff --git a/bin/version b/bin/version new file mode 100755 index 0000000..a49a5c6 --- /dev/null +++ b/bin/version @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' PlayerDNAPlugin/Info.plist diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 594574e..f2abf30 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -33,7 +33,7 @@ platform :ios do repository_name: "streamroot/avplayer-dna-plugin", api_token: github_token, name: version, - tag_name: version, + tag_name: "v#{version}", description: changelog, commitish: "master" )