diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index abe7cd2..92241e0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 diff --git a/Podfile.lock b/Podfile.lock index d6c2555..106aea5 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -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) @@ -23,7 +23,7 @@ EXTERNAL SOURCES: :path: "./" SPEC CHECKSUMS: - ADNavigationBarExtension: 7bb3042ea4375225682979774a787ec760a6e22f + ADNavigationBarExtension: 1be9d794fb7715b7d1bfa5158ddcabe176ffb769 ADUtils: a3e9fdcfe76222dd3abfa4659ad1e8249ed16c95 SwiftLint: 5ce4d6a8ff83f1b5fd5ad5dbf30965d35af65e44 diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 2b6b7bb..4e31722 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -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