File tree Expand file tree Collapse file tree 5 files changed +64
-11
lines changed
Expand file tree Collapse file tree 5 files changed +64
-11
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 3333Podfile.lock
3434
3535# SwiftPM
36- .build
36+ .build
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |spec |
22 spec . name = "DeepOneSDK"
3- spec . version = "1.1.3 "
3+ spec . version = "1.1.4 "
44 spec . summary = "DeepOne SDK for iOS - Deep Linking and Attribution"
55 spec . description = <<-DESC
66 DeepOne SDK provides comprehensive deep linking and attribution
@@ -18,7 +18,7 @@ Pod::Spec.new do |spec|
1818 spec . public_header_files = "DeepOneSDK/**/*.h"
1919
2020 # Dependencies
21- spec . vendored_frameworks = "Frameworks/ DeepOneNetworking.xcframework "
21+ spec . dependency " DeepOneNetworking" , "~> 1.1.4 "
2222
2323 # Build settings
2424 spec . frameworks = "Foundation" , "UIKit" , "Security"
Original file line number Diff line number Diff line change 1- // swift-tools-version: 5.7
1+ // swift-tools-version: 5.3
22// The swift-tools-version declares the minimum version of Swift required to build this package.
33
44import PackageDescription
@@ -13,15 +13,14 @@ let package = Package(
1313 ) ,
1414 ] ,
1515 dependencies: [
16+ . package ( url: " https://github.com/deeponelabs/deepone-ios-networking.git " , from: " 1.1.4 " )
1617 ] ,
1718 targets: [
18- . binaryTarget(
19- name: " DeepOneNetworking " ,
20- path: " Frameworks/DeepOneNetworking.xcframework "
21- ) ,
2219 . target(
2320 name: " DeepOneSDK " ,
24- dependencies: [ " DeepOneNetworking " ] ,
21+ dependencies: [
22+ . product( name: " DeepOneNetworking " , package : " deepone-ios-networking " )
23+ ] ,
2524 path: " DeepOneSDK " ,
2625 publicHeadersPath: " . " ,
2726 cSettings: [
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Or add it to your `Package.swift`:
3434
3535``` swift
3636dependencies: [
37- .package (url : " https://github.com/deeponelabs/deepone-ios-sdk.git" , from : " 1.1.3 " )
37+ .package (url : " https://github.com/deeponelabs/deepone-ios-sdk.git" , from : " 1.1.4 " )
3838]
3939```
4040
@@ -43,7 +43,7 @@ dependencies: [
4343Add this line to your ` Podfile ` :
4444
4545``` ruby
46- pod ' DeepOneSDK' , ' ~> 1.1.3 '
46+ pod ' DeepOneSDK' , ' ~> 1.1.4 '
4747```
4848
4949Then run:
You can’t perform that action at this time.
0 commit comments