Skip to content

Commit 3009abc

Browse files
Add iOS version commands
1 parent d224b6b commit 3009abc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/docs.md

+9
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,12 @@ at_exit do
233233
end
234234
end
235235
```
236+
237+
#### Set iOS version
238+
239+
```bash
240+
export V=`git rev-parse --verify HEAD`
241+
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $V" Info.plist
242+
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $V" Info.plist
243+
/usr/bin/plutil -convert binary1 Info.plist
244+
```

0 commit comments

Comments
 (0)