Skip to content

Commit a113359

Browse files
committed
version update
0 parents  commit a113359

File tree

46 files changed

+2467
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2467
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
create-release:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Get tag name
22+
id: tag
23+
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
24+
25+
- name: Generate release notes
26+
id: release_notes
27+
run: |
28+
# Get the previous tag to generate changelog
29+
PREVIOUS_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
30+
31+
if [ -n "$PREVIOUS_TAG" ]; then
32+
echo "## What's Changed" > release_notes.md
33+
echo "" >> release_notes.md
34+
35+
# Get commits since previous tag
36+
git log --pretty=format:"- %s" ${PREVIOUS_TAG}..HEAD >> release_notes.md
37+
38+
echo "" >> release_notes.md
39+
echo "## Full Changelog" >> release_notes.md
40+
echo "**Full Changelog**: https://github.com/${{ github.repository }}/compare/${PREVIOUS_TAG}...${{ steps.tag.outputs.tag }}" >> release_notes.md
41+
else
42+
echo "## What's Changed" > release_notes.md
43+
echo "" >> release_notes.md
44+
echo "🎉 Initial release of ${{ steps.tag.outputs.tag }}" >> release_notes.md
45+
fi
46+
47+
- name: Create Release
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
run: |
51+
# Create release with notes
52+
gh release create "${{ steps.tag.outputs.tag }}" \
53+
--title "${{ steps.tag.outputs.tag }}" \
54+
--notes-file release_notes.md
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Publish to CocoaPods
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
workflow_dispatch:
8+
inputs:
9+
tag:
10+
description: 'Tag to publish'
11+
required: true
12+
type: string
13+
14+
jobs:
15+
publish:
16+
runs-on: macos-latest
17+
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Set up Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: '3.0'
28+
bundler-cache: true
29+
30+
- name: Install CocoaPods
31+
run: |
32+
gem install cocoapods
33+
pod --version
34+
35+
- name: Setup CocoaPods credentials
36+
run: |
37+
# Create .netrc file for CocoaPods authentication
38+
cat > ~/.netrc << EOF
39+
machine trunk.cocoapods.org
40+
login ${{ secrets.COCOAPODS_LOGIN }}
41+
password ${{ secrets.COCOAPODS_PASSWORD }}
42+
EOF
43+
chmod 600 ~/.netrc
44+
45+
- name: Publish to CocoaPods
46+
run: |
47+
# Push to CocoaPods trunk (will automatically find *.podspec in root)
48+
pod trunk push --allow-warnings --verbose

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# OS X
2+
.DS_Store
3+
__MACOSX
4+
# Xcode
5+
#
6+
build/
7+
*.pbxuser
8+
!default.pbxuser
9+
*.mode1v3
10+
!default.mode1v3
11+
*.mode2v3
12+
!default.mode2v3
13+
*.perspectivev3
14+
!default.perspectivev3
15+
project.xcworkspace
16+
!default.xcworkspace
17+
xcuserdata
18+
*.xccheckout
19+
*.moved-aside
20+
DerivedData
21+
*.hmap
22+
*.ipa
23+
*.xcuserstate
24+
*.xcscmblueprint
25+
26+
# CocoaPods
27+
#
28+
# We recommend against adding the Pods directory to your .gitignore. However
29+
# you should judge for yourself, the pros and cons are mentioned at:
30+
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
31+
#
32+
Pods/
33+
Podfile.lock
34+
35+
# SwiftPM
36+
.build

DeepOneNetworking.podspec

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Pod::Spec.new do |spec|
2+
spec.name = "DeepOneNetworking"
3+
spec.version = "1.1.4"
4+
spec.summary = "DeepOne Networking"
5+
spec.description = <<-DESC
6+
DeepOne Networking Framework provides the essential networking and
7+
attribution engine for DeepOne SDKs. This is a binary framework
8+
distributed as XCFramework for optimal performance and security.
9+
DESC
10+
11+
spec.homepage = "https://github.com/deeponelabs/deepone-ios-networking"
12+
spec.license = { :type => "MIT", :file => "LICENSE" }
13+
spec.author = { "DeepOneIO" => "contact@deeponeio.io" }
14+
spec.source = { :git => "https://github.com/deeponelabs/deepone-ios-networking.git", :tag => "#{spec.version}" }
15+
16+
# Binary XCFramework distribution
17+
spec.vendored_frameworks = "DeepOneNetworking.xcframework"
18+
19+
# Build settings
20+
spec.frameworks = "Foundation", "UIKit", "Security"
21+
spec.requires_arc = true
22+
23+
# Platform settings
24+
spec.platform = :ios, '13.0'
25+
spec.pod_target_xcconfig = {
26+
'SUPPORTS_MACCATALYST' => 'YES',
27+
'IPHONEOS_DEPLOYMENT_TARGET' => '13.0',
28+
'MACOSX_DEPLOYMENT_TARGET' => '10.15'
29+
}
30+
end
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>BinaryPath</key>
9+
<string>DeepOneNetworking.framework/Versions/A/DeepOneNetworking</string>
10+
<key>LibraryIdentifier</key>
11+
<string>ios-arm64_x86_64-maccatalyst</string>
12+
<key>LibraryPath</key>
13+
<string>DeepOneNetworking.framework</string>
14+
<key>SupportedArchitectures</key>
15+
<array>
16+
<string>arm64</string>
17+
<string>x86_64</string>
18+
</array>
19+
<key>SupportedPlatform</key>
20+
<string>ios</string>
21+
<key>SupportedPlatformVariant</key>
22+
<string>maccatalyst</string>
23+
</dict>
24+
<dict>
25+
<key>BinaryPath</key>
26+
<string>DeepOneNetworking.framework/DeepOneNetworking</string>
27+
<key>LibraryIdentifier</key>
28+
<string>ios-arm64</string>
29+
<key>LibraryPath</key>
30+
<string>DeepOneNetworking.framework</string>
31+
<key>SupportedArchitectures</key>
32+
<array>
33+
<string>arm64</string>
34+
</array>
35+
<key>SupportedPlatform</key>
36+
<string>ios</string>
37+
</dict>
38+
<dict>
39+
<key>BinaryPath</key>
40+
<string>DeepOneNetworking.framework/DeepOneNetworking</string>
41+
<key>LibraryIdentifier</key>
42+
<string>ios-arm64_x86_64-simulator</string>
43+
<key>LibraryPath</key>
44+
<string>DeepOneNetworking.framework</string>
45+
<key>SupportedArchitectures</key>
46+
<array>
47+
<string>arm64</string>
48+
<string>x86_64</string>
49+
</array>
50+
<key>SupportedPlatform</key>
51+
<string>ios</string>
52+
<key>SupportedPlatformVariant</key>
53+
<string>simulator</string>
54+
</dict>
55+
</array>
56+
<key>CFBundlePackageType</key>
57+
<string>XFWK</string>
58+
<key>XCFrameworkFormatVersion</key>
59+
<string>1.0</string>
60+
</dict>
61+
</plist>
Binary file not shown.

0 commit comments

Comments
 (0)