Skip to content

Commit 618c3ec

Browse files
committed
feat(releases): bump IOS versions in Info.plist on release commit (#37)
1 parent c7c9fda commit 618c3ec

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,22 @@ jobs:
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

35-
- name: Update project versions
36-
id: version
35+
- name: Update package.json version
36+
id: package-version
3737
run: |
3838
echo "Next Version: ${{ steps.release.outputs.tag_name }}"
3939
npm version --git-tag-version=false --allow-same-version=true ${{ steps.release.outputs.tag_name }}
4040
41+
- name: Update IOS Info.plist versions
42+
id: ios-version
43+
uses: damienaicheh/update-ios-version-info-plist-action@v1.0.0
44+
with:
45+
info-plist-path: "./ios/App/App/Info.plist"
46+
bundle-short-version-string: "${{ steps.release.outputs.tag_name }}"
47+
bundle-version: "${{ steps.release.outputs.tag_name }}"
48+
4149
- name: Commit Changes
4250
uses: stefanzweifel/git-auto-commit-action@v4
4351
with:
4452
commit_message: "chore(version): bump to ${{ steps.release.outputs.tag_name }}"
45-
file_pattern: "package.json"
53+
file_pattern: "package.json ios/App/App/Info.plist"

0 commit comments

Comments
 (0)