Skip to content

Commit 9504c5f

Browse files
authored
Remove .swift-version when verifying podspec (#787)
1 parent 172d31b commit 9504c5f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/master.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
uses: actions/checkout@v2
4949
- name: CocoaPods verification
5050
run: |
51+
# To work around the lint error: "ERROR | swift: Specification `ReactiveSwift` specifies an inconsistent `swift_version` (`4.1`) compared to the one present in your `.swift-version` file (`4.1.2`). Please remove the `.swift-version` file which is now deprecated and only use the `swift_version` attribute within your podspec."
52+
# `.swift-version` is for swiftenv, not for CocoaPods, so we can't remove the file as suggested.
53+
rm .swift-version
5154
pod repo update
5255
pod lib lint --use-libraries
5356

0 commit comments

Comments
 (0)