Skip to content

Commit

Permalink
Merge pull request #467 from DataDog/buranmert/RUMM-1172-make-bump-al…
Browse files Browse the repository at this point in the history
…amofire

RUMM-1172 AFExtension included in make bump

(cherry picked from commit ddb4dbd)
  • Loading branch information
buranmert authored and ncreated committed Apr 13, 2021
1 parent 16c598c commit ce437cb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions DatadogSDKAlamofireExtension.podspec.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Pod::Spec.new do |s|
s.name = "DatadogSDKAlamofireExtension"
s.module_name = "DatadogAlamofireExtension"
s.version = "__DATADOG_VERSION__"
s.summary = "An Official Extensions of Datadog Swift SDK for Alamofire."

s.homepage = "https://www.datadoghq.com"
s.social_media_url = "https://twitter.com/datadoghq"

s.license = { :type => "Apache", :file => 'LICENSE' }
s.authors = {
"Maciek Grzybowski" => "[email protected]",
"Mert Buran" => "[email protected]",
"Alexandre Costanza" => "[email protected]"
}

s.swift_version = '5.1'
s.ios.deployment_target = '11.0'

# :tag must follow DatadogSDK version below
s.source = { :git => "https://github.com/DataDog/dd-sdk-ios.git", :tag => s.version.to_s }

s.source_files = ["Sources/DatadogExtensions/Alamofire/**/*.swift"]
s.dependency 'DatadogSDK', s.version.to_s
s.dependency 'Alamofire', '~> 5.0'
end
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ bump:
echo "// GENERATED FILE: Do not edit directly\n\ninternal let sdkVersion = \"$$version\"" > Sources/Datadog/Versioning.swift; \
sed "s/__DATADOG_VERSION__/$$version/g" DatadogSDK.podspec.src > DatadogSDK.podspec; \
sed "s/__DATADOG_VERSION__/$$version/g" DatadogSDKObjc.podspec.src > DatadogSDKObjc.podspec; \
sed "s/__DATADOG_VERSION__/$$version/g" DatadogSDKAlamofireExtension.podspec.src > DatadogSDKAlamofireExtension.podspec; \
git add . ; \
git commit -m "Bumped version to $$version"; \
echo Bumped version to $$version
Expand Down

0 comments on commit ce437cb

Please sign in to comment.