Skip to content

Commit 8c4eefe

Browse files
committed
Handle CI bumping build number correctly
1 parent 9181bcd commit 8c4eefe

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ jobs:
5555
run: |
5656
git config user.name "github-actions[bot]"
5757
git config user.email "github-actions[bot]@users.noreply.github.com"
58-
git add PandaBeFree.xcodeproj/project.pbxproj
59-
git commit -m "Bump build number [skip ci]"
60-
git push
58+
git add PandaBeFree.xcodeproj/project.pbxproj PandaBeFree/Info.plist PandaBeFreeWidgets/Info.plist
59+
git diff --cached --quiet && echo "No changes to commit" || (git commit -m "Bump build number [skip ci]" && git push)
6160
6261
- name: Build and upload to TestFlight
6362
run: bundle exec fastlane release

0 commit comments

Comments
 (0)