Skip to content

Commit

Permalink
Merge pull request #22 from faberNovel/release/2.0.0
Browse files Browse the repository at this point in the history
Use correct personal github access token in CD
  • Loading branch information
alexandre-pod authored Mar 5, 2024
2 parents 8f9e0f4 + 3bbded2 commit c0466d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:

- name: Publish release
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN_CI }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TOKEN_CI }}
run: bundle exec fastlane publish_release
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- ADNavigationBarExtension (1.0.4):
- ADNavigationBarExtension (2.0.0):
- ADUtils (~> 12.0)
- ADUtils (12.1.1):
- ADUtils/objc (= 12.1.1)
Expand All @@ -23,7 +23,7 @@ EXTERNAL SOURCES:
:path: "./"

SPEC CHECKSUMS:
ADNavigationBarExtension: 7bb3042ea4375225682979774a787ec760a6e22f
ADNavigationBarExtension: 1be9d794fb7715b7d1bfa5158ddcabe176ffb769
ADUtils: a3e9fdcfe76222dd3abfa4659ad1e8249ed16c95
SwiftLint: 5ce4d6a8ff83f1b5fd5ad5dbf30965d35af65e44

Expand Down
7 changes: 5 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,12 @@ def bump_podspec(target_version)
version_number: target_version
)

git_add(path: podspec_path)
pod_install # update the Podfile.lock with the new version

path = [podspec_path, "Podfile.lock"]
git_add(path: path)
git_commit(
path: podspec_path,
path: path,
message: "Bump to #{target_version}"
)
end
Expand Down

0 comments on commit c0466d0

Please sign in to comment.