Skip to content

Commit 6a68ae1

Browse files
Merge pull request #2 from ionic-team/feat/RMET-3997/rename-lib
chore: rename lib to `IONGeolocationLib-iOS`
2 parents aefe871 + 6eb59f2 commit 6a68ae1

23 files changed

+197
-197
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Continuous Integration
33
on:
44
push:
55
branches:
6-
- main
6+
- main, development
77
pull_request:
88
types: [opened, synchronize, reopened]
99

.github/workflows/prepare_release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@ jobs:
4040

4141
- name: Get new version
4242
id: version
43-
run: echo "VERSION=$(ruby -e 'puts File.read("./OSGeolocationLib.podspec").match(/spec.version.*=.*''(\d+\.\d+\.\d+)''/)[1]')" >> $GITHUB_ENV
43+
run: echo "VERSION=$(ruby -e 'puts File.read("./IONGeolocationLib.podspec").match(/spec.version.*=.*''(\d+\.\d+\.\d+)''/)[1]')" >> $GITHUB_ENV
4444

4545
- name: Create new branch
4646
run: |
4747
git switch --create "prepare-new-release-${{ env.VERSION }}"
4848
4949
- name: Move zip file to root and push changes
5050
run: |
51-
if [ -f OSGeolocationLib.zip ]; then
52-
rm OSGeolocationLib.zip
51+
if [ -f IONGeolocationLib.zip ]; then
52+
rm IONGeolocationLib.zip
5353
else
5454
echo "File does not exist."
5555
fi
56-
mv build/OSGeolocationLib.zip .
56+
mv build/IONGeolocationLib.zip .
5757
git config --global user.name 'github-actions[bot]'
5858
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
5959
git add .
@@ -63,7 +63,7 @@ jobs:
6363
- name: Create pull request
6464
id: create_pr
6565
run: |
66-
gh pr create -B main -H prepare-new-release-${{ env.VERSION }} --title 'Prepare `main` to Release `${{ env.VERSION }}`' --body 'Bumps version to `${{ env.VERSION }}`.<br/>Creates an updated and ready-to-be-released `OSGeolocationLib.zip`.'
66+
gh pr create -B main -H prepare-new-release-${{ env.VERSION }} --title 'Prepare `main` to Release `${{ env.VERSION }}`' --body 'Bumps version to `${{ env.VERSION }}`.<br/>Creates an updated and ready-to-be-released `IONGeolocationLib.zip`.'
6767
PR_NUMBER=$(gh pr view --json number --jq '.number')
6868
echo "PR_NUMBER=${PR_NUMBER}" >> $GITHUB_ENV
6969
env:

.github/workflows/release_and_publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: Get new version
2222
id: version
23-
run: echo "VERSION=$(ruby -e 'puts File.read("./OSGeolocationLib.podspec").match(/spec.version.*=.*''(\d+\.\d+\.\d+)''/)[1]')" >> $GITHUB_ENV
23+
run: echo "VERSION=$(ruby -e 'puts File.read("./IONGeolocationLib.podspec").match(/spec.version.*=.*''(\d+\.\d+\.\d+)''/)[1]')" >> $GITHUB_ENV
2424

2525
- name: Extract release notes
2626
run: sh scripts/extract_release_notes.sh "${{ env.VERSION }}" >> release_notes.md
@@ -50,14 +50,14 @@ jobs:
5050
gh release create "$TAG_NAME" \
5151
--title "$TAG_NAME" \
5252
--notes "$RELEASE_NOTES" \
53-
"OSGeolocationLib.zip"
53+
"IONGeolocationLib.zip"
5454
5555
echo "Release created for tag: $TAG_NAME"
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858

5959
- name: Deploy to Cocoapods
60-
run: pod trunk push ./OSGeolocationLib.podspec --allow-warnings
60+
run: pod trunk push ./IONGeolocationLib.podspec --allow-warnings
6161
env:
6262
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
6363

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
Pod::Spec.new do |spec|
2-
spec.name = 'OSGeolocationLib'
2+
spec.name = 'IONGeolocationLib'
33
spec.version = '0.0.1'
44

55
spec.summary = 'A native iOS library for Geolocation authorisation and monitoring.'
66
spec.description = 'A Swift library for iOS that provides simple, reliable access to device GPS capabilities. Get location data, monitor position changes, and manage location services with a clean, modern API.'
77

8-
spec.homepage = 'https://github.com/ionic-team/OSGeolocationLib-iOS'
8+
spec.homepage = 'https://github.com/ionic-team/IONGeolocationLib-iOS'
99
spec.license = { :type => 'MIT', :file => 'LICENSE' }
1010
spec.author = { 'OutSystems Mobile Ecosystem' => '[email protected]' }
1111

12-
spec.source = { :http => "https://github.com/ionic-team/OSGeolocationLib-iOS/releases/download/#{spec.version}/OSGeolocationLib.zip", :type => "zip" }
13-
spec.vendored_frameworks = "OSGeolocationLib.xcframework"
12+
spec.source = { :http => "https://github.com/ionic-team/IONGeolocationLib-iOS/releases/download/#{spec.version}/IONGeolocationLib.zip", :type => "zip" }
13+
spec.vendored_frameworks = "IONGeolocationLib.xcframework"
1414

1515
spec.ios.deployment_target = '14.0'
1616
spec.swift_versions = ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8', '5.9']

0 commit comments

Comments
 (0)