Skip to content

Commit

Permalink
Release 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
LamineNdy committed Feb 13, 2019
1 parent 83926f1 commit 61c5bd9
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.DS_Store
.idea
*.xcuserdatad
build
Carthage

## Build generated
Expand Down
10 changes: 10 additions & 0 deletions AVPlayerDNAPlugin.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 6 additions & 4 deletions AVPlayerDNAPlugin.podspec
Original file line number Diff line number Diff line change
@@ -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' => '[email protected]' }
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
7 changes: 7 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
@@ -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
File renamed without changes.
3 changes: 3 additions & 0 deletions bin/version
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' PlayerDNAPlugin/Info.plist
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 61c5bd9

Please sign in to comment.